@samitouri / QOSamiQemu / commits / f46bd7b21e

tests/acpi: generate expected blobs for sp-mem SRAT test

Populate the expected ACPI blobs for the sp-mem test and clear the allowed-diff list. SRAT memory-affinity entries for the device_memory window (q35, -m 128M,maxmem=1G, sp0 on node 1 and sp1 on node 2, each 128M): Proximity Domain : 1 Base : 0x100000000 Length : 0x08000000 (Enabled) Proximity Domain : 2 Base : 0x108000000 Length : 0x08000000 (Enabled) Proximity Domain : 2 Base : 0x110000000 Length : 0x128000000 (Hot Pluggable) Each sp-mem device gets an ENABLED entry at its own proximity domain; the remaining device_memory window is covered by a HOTPLUGGABLE placeholder at the highest proximity domain. (DSDT.spmem differs from the base only by the memory-hotplug AML enabled by -m,maxmem.) Signed-off-by: FangSheng Huang <FangSheng.Huang@amd.com> Acked-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260623075051.3797975-9-FangSheng.Huang@amd.com>

fanhuang committed Jun 23, 2026 at 15:50 UTC f46bd7b21ed3ae92e6c1820d7987807af67150fa
3 files changed -2
tests/data/acpi/x86/q35/DSDT.spmem
Binary files a/tests/data/acpi/x86/q35/DSDT.spmem and b/tests/data/acpi/x86/q35/DSDT.spmem differ
tests/data/acpi/x86/q35/SRAT.spmem
Binary files a/tests/data/acpi/x86/q35/SRAT.spmem and b/tests/data/acpi/x86/q35/SRAT.spmem differ
tests/qtest/bios-tables-test-allowed-diff.h
-2
@@ -1,3 +1 @@
1 /* List of comma-separated changed AML files to ignore */
2 -"tests/data/acpi/x86/q35/DSDT.spmem",
3 -"tests/data/acpi/x86/q35/SRAT.spmem",