tests: acpi: fix FADT not being compared to reference table
commit92146b7a0fe6d6f9df34eeb22dc8e33785a49a42
authorIgor Mammedov <imammedo@redhat.com>
Tue, 16 Jan 2018 15:30:26 +0000 (16 16:30 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Feb 2018 16:25:48 +0000 (13 18:25 +0200)
tree4fdb928cab2a57af0ee7349818182ee99f3cb580
parentfc67208f228af8e444f74362db1bced56a3daa71
tests: acpi: fix FADT not being compared to reference table

It turns out that FADT isn't actually tested for changes
against reference table, since it happens to be the 1st
table in RSDT which is currently ignored.
Fix it by making sure that all tables from RSDT are added
to test list.

NOTE: FADT contains guest allocated pointers to FACS/DSDT,
zero them out so that possible FACS/DSDT address change
won't affect test results.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/bios-tables-test.c