diff options
| author | Igor Mammedov | 2018-12-27 15:13:29 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-01-15 01:31:04 +0100 |
| commit | 569afd8428a5d0d9dab5be60df46920fb277194c (patch) | |
| tree | bf8efd617423c1fb702b1f55aac2f2fe6c6b7b9b /linux-user | |
| parent | tests: acpi: make sure FADT is fetched only once (diff) | |
| download | qemu-569afd8428a5d0d9dab5be60df46920fb277194c.tar.gz qemu-569afd8428a5d0d9dab5be60df46920fb277194c.tar.xz 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 'linux-user')
0 files changed, 0 insertions, 0 deletions
