[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/17] tests/acpi: add microvm usb test
From: |
Gerd Hoffmann |
Subject: |
[PULL 15/17] tests/acpi: add microvm usb test |
Date: |
Wed, 21 Oct 2020 16:48:50 +0200 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20201020074844.5304-9-kraxel@redhat.com
---
tests/qtest/bios-tables-test.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index 564762449233..17e11800274d 100644
--- a/tests/qtest/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
@@ -1110,6 +1110,17 @@ static void test_acpi_microvm_tcg(void)
free_test_data(&data);
}
+static void test_acpi_microvm_usb_tcg(void)
+{
+ test_data data;
+
+ test_acpi_microvm_prepare(&data);
+ data.variant = ".usb";
+ test_acpi_one(" -machine microvm,acpi=on,usb=on,rtc=off",
+ &data);
+ free_test_data(&data);
+}
+
static void test_acpi_microvm_pcie_tcg(void)
{
test_data data;
@@ -1246,6 +1257,7 @@ int main(int argc, char *argv[])
qtest_add_func("acpi/piix4/acpihmat", test_acpi_piix4_tcg_acpi_hmat);
qtest_add_func("acpi/q35/acpihmat", test_acpi_q35_tcg_acpi_hmat);
qtest_add_func("acpi/microvm", test_acpi_microvm_tcg);
+ qtest_add_func("acpi/microvm/usb", test_acpi_microvm_usb_tcg);
if (strcmp(arch, "x86_64") == 0) {
qtest_add_func("acpi/microvm/pcie", test_acpi_microvm_pcie_tcg);
}
--
2.27.0
- [PULL 13/17] tests/acpi: allow updates for expected data files, (continued)
- [PULL 13/17] tests/acpi: allow updates for expected data files, Gerd Hoffmann, 2020/10/21
- [PULL 17/17] tests/acpi: update expected data files, Gerd Hoffmann, 2020/10/21
- [PULL 05/17] apci: drop has_pci arg for acpi_build_madt, Gerd Hoffmann, 2020/10/21
- [PULL 11/17] usb/xhci: fixup xhci kconfig deps, Gerd Hoffmann, 2020/10/21
- [PULL 07/17] tests/acpi: disallow changes for microvm/APIC.pcie, Gerd Hoffmann, 2020/10/21
- [PULL 08/17] acpi: add aml builder stubs, Gerd Hoffmann, 2020/10/21
- [PULL 10/17] usb/xhci: add xhci_sysbus_build_aml() helper, Gerd Hoffmann, 2020/10/21
- [PULL 09/17] usb/xhci: add include/hw/usb/xhci.h header file, Gerd Hoffmann, 2020/10/21
- [PULL 01/17] tests/acpi: allow changes for microvm/APIC.pcie, Gerd Hoffmann, 2020/10/21
- [PULL 02/17] tests/acpi: add empty microvm/APIC.pcie, Gerd Hoffmann, 2020/10/21
- [PULL 15/17] tests/acpi: add microvm usb test,
Gerd Hoffmann <=
- [PULL 12/17] microvm: add usb support, Gerd Hoffmann, 2020/10/21
- [PULL 03/17] x86: make pci irqs runtime configurable, Gerd Hoffmann, 2020/10/21
- [PULL 16/17] tests/acpi: add microvm rtc test, Gerd Hoffmann, 2020/10/21
- [PULL 06/17] tests/acpi: update expected data files, Gerd Hoffmann, 2020/10/21
- Re: [PULL 00/17] Microvm 20201021 patches, Peter Maydell, 2020/10/22