]> git.proxmox.com Git - mirror_qemu.git/commit
tests: acpi: make RSDT test routine handle XSDT
authorIgor Mammedov <imammedo@redhat.com>
Thu, 2 May 2019 14:51:51 +0000 (16:51 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 May 2019 22:40:02 +0000 (18:40 -0400)
commitf2f616cea44018c8280795f40ce66b04a164dfa8
tree466db0525f93f0d218495d5fee79e92d1266d012
parent4b14d543f3338985fd9c74ae6f6a6d3861c841dd
tests: acpi: make RSDT test routine handle XSDT

If RSDP revision is more than 0 fetch table pointed by XSDT
and fallback to legacy RSDT table otherwise.

While at it drop unused acpi_get_xsdt_address().

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1556808723-226478-4-git-send-email-imammedo@redhat.com>
Reviewed-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/acpi-utils.c
tests/acpi-utils.h
tests/bios-tables-test.c