diff options
author | Igor Mammedov | 2022-06-08 15:53:32 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-06-10 01:32:49 +0200 |
commit | fd7bcffe5988d799f37e4ad92cfd1480ce7a9ce6 (patch) | |
tree | 9157c4beb2a06f3d7f34570e760b76be3a977ff8 /tests | |
parent | tests: acpi: white-lists expected DSDT.pvpanic-isa blob (diff) | |
download | qemu-fd7bcffe5988d799f37e4ad92cfd1480ce7a9ce6.tar.gz qemu-fd7bcffe5988d799f37e4ad92cfd1480ce7a9ce6.tar.xz qemu-fd7bcffe5988d799f37e4ad92cfd1480ce7a9ce6.zip |
tests: acpi: add pvpanic-isa: testcase
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20220608135340.3304695-28-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtest/bios-tables-test.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 7d238218ca..56498bbcc8 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1636,6 +1636,17 @@ static void test_acpi_q35_applesmc(void) free_test_data(&data); } +static void test_acpi_q35_pvpanic_isa(void) +{ + test_data data = { + .machine = MACHINE_Q35, + .variant = ".pvpanic-isa", + }; + + test_acpi_one("-device pvpanic", &data); + free_test_data(&data); +} + static void test_oem_fields(test_data *data) { int i; @@ -1795,6 +1806,7 @@ int main(int argc, char *argv[]) qtest_add_func("acpi/piix4/acpierst", test_acpi_piix4_acpi_erst); qtest_add_func("acpi/q35/acpierst", test_acpi_q35_acpi_erst); qtest_add_func("acpi/q35/applesmc", test_acpi_q35_applesmc); + qtest_add_func("acpi/q35/pvpanic-isa", test_acpi_q35_pvpanic_isa); qtest_add_func("acpi/microvm", test_acpi_microvm_tcg); qtest_add_func("acpi/microvm/usb", test_acpi_microvm_usb_tcg); qtest_add_func("acpi/microvm/rtc", test_acpi_microvm_rtc_tcg); |