aboutsummaryrefslogtreecommitdiff
path: root/tests/acpi-test-data
diff options
context:
space:
mode:
authorDou Liyang <douly.fnst@cn.fujitsu.com>2017-12-14 12:08:54 +0800
committerMichael S. Tsirkin <mst@redhat.com>2018-01-18 21:52:38 +0200
commitd82c4f82e0233da642c36c40ef8da781fee689bc (patch)
tree09dacab01bc055ec1503d4c2f968f24c4accd789 /tests/acpi-test-data
parentfced4d00e68e7559c73746d963265f7fd0b6abf9 (diff)
ACPI/unit-test: Add a testcase for RAM allocation in numa node
As QEMU supports the memory-less node, it is possible that there is no RAM in the first numa node(also be called as node0). eg: ... \ -m 128,slots=3,maxmem=1G \ -numa node -numa node,mem=128M \ But, this makes it hard for QEMU to build a known-to-work ACPI SRAT table. Only fixing it is not enough. Add a testcase for this situation to make sure the ACPI table is correct for guest. Suggested-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/acpi-test-data')
-rw-r--r--tests/acpi-test-data/pc/DSDT.numamembin0 -> 5150 bytes
-rw-r--r--tests/acpi-test-data/pc/SRAT.numamembin0 -> 224 bytes
-rw-r--r--tests/acpi-test-data/q35/DSDT.numamembin0 -> 7834 bytes
-rw-r--r--tests/acpi-test-data/q35/SRAT.numamembin0 -> 224 bytes
4 files changed, 0 insertions, 0 deletions
diff --git a/tests/acpi-test-data/pc/DSDT.numamem b/tests/acpi-test-data/pc/DSDT.numamem
new file mode 100644
index 0000000000..224cfdd9e9
--- /dev/null
+++ b/tests/acpi-test-data/pc/DSDT.numamem
Binary files differ
diff --git a/tests/acpi-test-data/pc/SRAT.numamem b/tests/acpi-test-data/pc/SRAT.numamem
new file mode 100644
index 0000000000..dbc595d9cb
--- /dev/null
+++ b/tests/acpi-test-data/pc/SRAT.numamem
Binary files differ
diff --git a/tests/acpi-test-data/q35/DSDT.numamem b/tests/acpi-test-data/q35/DSDT.numamem
new file mode 100644
index 0000000000..8c9fa445b0
--- /dev/null
+++ b/tests/acpi-test-data/q35/DSDT.numamem
Binary files differ
diff --git a/tests/acpi-test-data/q35/SRAT.numamem b/tests/acpi-test-data/q35/SRAT.numamem
new file mode 100644
index 0000000000..dbc595d9cb
--- /dev/null
+++ b/tests/acpi-test-data/q35/SRAT.numamem
Binary files differ