tests: acpi: don't read all fields in test_acpi_fadt_table()
authorIgor Mammedov <imammedo@redhat.com>
Wed, 28 Feb 2018 14:23:55 +0000 (15:23 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Mar 2018 21:09:50 +0000 (23:09 +0200)
commit89d47c1927094edde494e533dc1c24e8ac34323c
tree428a68bb69993b135bd967075156ae1d7545e082
parentdd1b2037a38024b69e952c5ac41fd63b96e552ab
tests: acpi: don't read all fields in test_acpi_fadt_table()

there is no point to read fields here but not actually
checking them so drop it and read only header + dsdt/facs
addresses since it's needed later to fetch that tables.

With this cleanup we can get rid of AcpiFadtDescriptorRev3/
ACPI_FADT_COMMON_DEF which have no users left.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/hw/acpi/acpi-defs.h
tests/bios-tables-test.c