diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2018-12-27 15:13:29 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2019-01-14 19:31:04 -0500 |
| commit | 569afd8428a5d0d9dab5be60df46920fb277194c (patch) | |
| tree | bf8efd617423c1fb702b1f55aac2f2fe6c6b7b9b /hw/virtio/virtio-input-pci.c | |
| parent | db5754498878c754a1ea755e726816ee50cbf2c0 (diff) | |
| download | focaccia-qemu-569afd8428a5d0d9dab5be60df46920fb277194c.tar.gz focaccia-qemu-569afd8428a5d0d9dab5be60df46920fb277194c.zip | |
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 'hw/virtio/virtio-input-pci.c')
0 files changed, 0 insertions, 0 deletions