[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 10/12] tests/acpi: add ioapic2=on test for microvm
From: |
Gerd Hoffmann |
Subject: |
[PATCH v2 10/12] tests/acpi: add ioapic2=on test for microvm |
Date: |
Thu, 5 Nov 2020 14:39:21 +0100 |
Signed-off-by: Gerd Hoffmann <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 0a0ce76ffcf9..4c4e6dd1e9cc 100644
--- a/tests/qtest/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
@@ -1154,6 +1154,17 @@ static void test_acpi_microvm_pcie_tcg(void)
free_test_data(&data);
}
+static void test_acpi_microvm_ioapic2_tcg(void)
+{
+ test_data data;
+
+ test_acpi_microvm_prepare(&data);
+ data.variant = ".ioapic2";
+ test_acpi_one(" -machine microvm,acpi=on,ioapic2=on,rtc=off",
+ &data);
+ free_test_data(&data);
+}
+
static void test_acpi_virt_tcg_numamem(void)
{
test_data data = {
@@ -1280,6 +1291,7 @@ int main(int argc, char *argv[])
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);
+ qtest_add_func("acpi/microvm/ioapic2", test_acpi_microvm_ioapic2_tcg);
if (strcmp(arch, "x86_64") == 0) {
qtest_add_func("acpi/microvm/pcie", test_acpi_microvm_pcie_tcg);
}
--
2.27.0
- [PATCH v2 07/12] microvm: add second ioapic, (continued)
- [PATCH v2 07/12] microvm: add second ioapic, Gerd Hoffmann, 2020/11/05
- [PATCH v2 06/12] microvm: drop microvm_gsi_handler(), Gerd Hoffmann, 2020/11/05
- [PATCH v2 01/12] [testing] disable xhci msix, Gerd Hoffmann, 2020/11/05
- [PATCH v2 12/12] tests/acpi: disallow updates for expected data files, Gerd Hoffmann, 2020/11/05
- [PATCH v2 03/12] x86: add support for second ioapic, Gerd Hoffmann, 2020/11/05
- [PATCH v2 04/12] microvm: make number of virtio transports runtime configurable, Gerd Hoffmann, 2020/11/05
- [PATCH v2 10/12] tests/acpi: add ioapic2=on test for microvm,
Gerd Hoffmann <=