mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
tests: acpi: extend cphp and memhp testcase with numa distance check
Signed-off-by: He Chen <he.chen@linux.intel.com> Message-Id: <1493803036-4048-1-git-send-email-he.chen@linux.intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> [ehabkost: regenerated tests/acpi-tst-data, included SLIT table] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
3bfe57165b
commit
fda4096fca
BIN
tests/acpi-test-data/pc/SLIT.cphp
Normal file
BIN
tests/acpi-test-data/pc/SLIT.cphp
Normal file
Binary file not shown.
BIN
tests/acpi-test-data/pc/SLIT.memhp
Normal file
BIN
tests/acpi-test-data/pc/SLIT.memhp
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/acpi-test-data/q35/SLIT.cphp
Normal file
BIN
tests/acpi-test-data/q35/SLIT.cphp
Normal file
Binary file not shown.
BIN
tests/acpi-test-data/q35/SLIT.memhp
Normal file
BIN
tests/acpi-test-data/q35/SLIT.memhp
Normal file
Binary file not shown.
Binary file not shown.
@ -723,7 +723,8 @@ static void test_acpi_piix4_tcg_cphp(void)
|
||||
data.machine = MACHINE_PC;
|
||||
data.variant = ".cphp";
|
||||
test_acpi_one("-smp 2,cores=3,sockets=2,maxcpus=6"
|
||||
" -numa node -numa node",
|
||||
" -numa node -numa node"
|
||||
" -numa dist,src=0,dst=1,val=21",
|
||||
&data);
|
||||
free_test_data(&data);
|
||||
}
|
||||
@ -736,7 +737,8 @@ static void test_acpi_q35_tcg_cphp(void)
|
||||
data.machine = MACHINE_Q35;
|
||||
data.variant = ".cphp";
|
||||
test_acpi_one(" -smp 2,cores=3,sockets=2,maxcpus=6"
|
||||
" -numa node -numa node",
|
||||
" -numa node -numa node"
|
||||
" -numa dist,src=0,dst=1,val=21",
|
||||
&data);
|
||||
free_test_data(&data);
|
||||
}
|
||||
@ -785,7 +787,10 @@ static void test_acpi_q35_tcg_memhp(void)
|
||||
memset(&data, 0, sizeof(data));
|
||||
data.machine = MACHINE_Q35;
|
||||
data.variant = ".memhp";
|
||||
test_acpi_one(" -m 128,slots=3,maxmem=1G -numa node", &data);
|
||||
test_acpi_one(" -m 128,slots=3,maxmem=1G"
|
||||
" -numa node -numa node"
|
||||
" -numa dist,src=0,dst=1,val=21",
|
||||
&data);
|
||||
free_test_data(&data);
|
||||
}
|
||||
|
||||
@ -796,7 +801,10 @@ static void test_acpi_piix4_tcg_memhp(void)
|
||||
memset(&data, 0, sizeof(data));
|
||||
data.machine = MACHINE_PC;
|
||||
data.variant = ".memhp";
|
||||
test_acpi_one(" -m 128,slots=3,maxmem=1G -numa node", &data);
|
||||
test_acpi_one(" -m 128,slots=3,maxmem=1G"
|
||||
" -numa node -numa node"
|
||||
" -numa dist,src=0,dst=1,val=21",
|
||||
&data);
|
||||
free_test_data(&data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user