qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

bios-tables-test: list all tables that differ

Fail after comparing all tables: this way
user gets the full list of tables that need
to be updated or whitelisted.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

+4 -2
+4 -2
tests/bios-tables-test.c
··· 364 364 int i; 365 365 AcpiSdtTable *sdt, *exp_sdt; 366 366 test_data exp_data; 367 - gboolean exp_err, err; 367 + gboolean exp_err, err, all_tables_match = true; 368 368 369 369 memset(&exp_data, 0, sizeof(exp_data)); 370 370 exp_data.tables = load_expected_aml(data); ··· 413 413 } 414 414 } 415 415 } 416 - g_assert(test_acpi_find_diff_allowed(exp_sdt)); 416 + all_tables_match = all_tables_match && 417 + test_acpi_find_diff_allowed(exp_sdt); 417 418 } 418 419 g_string_free(asl, true); 419 420 g_string_free(exp_asl, true); 420 421 } 422 + g_assert(all_tables_match); 421 423 422 424 free_test_data(&exp_data); 423 425 }