aboutsummaryrefslogtreecommitdiff
path: root/scripts/device-crash-test
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2018-12-27 15:13:31 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-01-17 21:10:57 -0500
commitacee774b3dbeb7fcd294b1f96c1a286d39d9b495 (patch)
treed54da65345c7929b26683024e295f4b1910c2223 /scripts/device-crash-test
parent59f9c6cc014309cde537842af2104b2f9956b0d6 (diff)
downloadqemu-acee774b3dbeb7fcd294b1f96c1a286d39d9b495.zip
qemu-acee774b3dbeb7fcd294b1f96c1a286d39d9b495.tar.gz
qemu-acee774b3dbeb7fcd294b1f96c1a286d39d9b495.tar.bz2
tests: acpi: reuse fetch_table() in vmgenid-test
Move fetch_table() into acpi-utils.c renaming it to acpi_fetch_table() and reuse it in vmgenid-test that reads RSDT and then tables it references, to find and parse VMGNEID SSDT. While at it wrap RSDT referenced tables enumeration into FOREACH macro (similar to what we do with QLIST_FOREACH & co) to reuse it with bios and vmgenid tests. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/device-crash-test')
0 files changed, 0 insertions, 0 deletions