On 3/3/26 10:25 AM, Igor Mammedov wrote: > Signed-off-by: Igor Mammedov <[email protected]> Reviewed-by: Eric Auger <[email protected]> Eric > --- > tests/qtest/bios-tables-test.c | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c > index 5b01a657e5..5082866184 100644 > --- a/tests/qtest/bios-tables-test.c > +++ b/tests/qtest/bios-tables-test.c > @@ -2271,6 +2271,25 @@ static void test_acpi_aarch64_virt_tcg_msi_gicv2m(void) > free_test_data(&data); > } > > +static void test_acpi_aarch64_virt_tcg_wdat(void) > +{ > + test_data data = { > + .machine = "virt", > + .arch = "aarch64", > + .variant = ".wdat", > + .tcg_only = true, > + .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd", > + .uefi_fl2 = "pc-bios/edk2-arm-vars.fd", > + .cd = > "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2", > + .ram_start = 0x40000000ULL, > + .scan_len = 128ULL * MiB, > + }; > + > + test_acpi_one("-cpu cortex-a57 " > + "-device sbsa_gwdt,wdat=on", &data); > + free_test_data(&data); > +} > + > static void test_acpi_q35_viot(void) > { > test_data data = { > @@ -2889,6 +2908,8 @@ int main(int argc, char *argv[]) > qtest_add_func("acpi/virt/smmuv3-dev", > test_acpi_aarch64_virt_smmuv3_dev); > } > + qtest_add_func("acpi/virt/acpi-watchdog", > + test_acpi_aarch64_virt_tcg_wdat); > } > } else if (strcmp(arch, "riscv64") == 0) { > if (has_tcg && qtest_has_device("virtio-blk-pci")) {
