aboutsummaryrefslogtreecommitdiff
path: root/tests/vmgenid-test.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2018-12-27 15:13:29 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-01-14 19:31:04 -0500
commit569afd8428a5d0d9dab5be60df46920fb277194c (patch)
treebf8efd617423c1fb702b1f55aac2f2fe6c6b7b9b /tests/vmgenid-test.c
parentdb5754498878c754a1ea755e726816ee50cbf2c0 (diff)
tests: acpi: simplify rsdt handling
RSDT referenced tables always have length at offset 4 and checksum at offset 9, that's enough for reusing fetch_table() and replacing custom RSDT fetching code with it. While at it * merge fetch_rsdt_referenced_tables() into test_acpi_rsdt_table() * drop test_data::rsdt_table/rsdt_tables_addr/rsdt_tables_nr since we need this data only for duration of test_acpi_rsdt_table() to fetch other tables and use locals instead. 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 'tests/vmgenid-test.c')
0 files changed, 0 insertions, 0 deletions