From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Eduardo Habkost <ehabkost@redhat.com>,
Sergio Lopez <slp@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
Richard Henderson <rth@twiddle.net>
Subject: [PULL 16/17] tests/acpi: add microvm rtc test
Date: Wed, 21 Oct 2020 16:48:51 +0200 [thread overview]
Message-ID: <20201021144852.16665-17-kraxel@redhat.com> (raw)
In-Reply-To: <20201021144852.16665-1-kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20201020074844.5304-10-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 17e11800274d..3830a40d1041 100644
--- a/tests/qtest/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
@@ -1121,6 +1121,17 @@ static void test_acpi_microvm_usb_tcg(void)
free_test_data(&data);
}
+static void test_acpi_microvm_rtc_tcg(void)
+{
+ test_data data;
+
+ test_acpi_microvm_prepare(&data);
+ data.variant = ".rtc";
+ test_acpi_one(" -machine microvm,acpi=on,rtc=on",
+ &data);
+ free_test_data(&data);
+}
+
static void test_acpi_microvm_pcie_tcg(void)
{
test_data data;
@@ -1258,6 +1269,7 @@ int main(int argc, char *argv[])
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);
+ qtest_add_func("acpi/microvm/rtc", test_acpi_microvm_rtc_tcg);
if (strcmp(arch, "x86_64") == 0) {
qtest_add_func("acpi/microvm/pcie", test_acpi_microvm_pcie_tcg);
}
--
2.27.0
next prev parent reply other threads:[~2020-10-21 14:58 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-21 14:48 [PULL 00/17] Microvm 20201021 patches Gerd Hoffmann
2020-10-21 14:48 ` [PULL 01/17] tests/acpi: allow changes for microvm/APIC.pcie Gerd Hoffmann
2020-10-21 14:48 ` [PULL 02/17] tests/acpi: add empty microvm/APIC.pcie Gerd Hoffmann
2020-10-21 14:48 ` [PULL 03/17] x86: make pci irqs runtime configurable Gerd Hoffmann
2020-10-21 14:48 ` [PULL 04/17] microvm: set pci_irq_mask Gerd Hoffmann
2020-10-21 14:48 ` [PULL 05/17] apci: drop has_pci arg for acpi_build_madt Gerd Hoffmann
2020-10-21 14:48 ` [PULL 06/17] tests/acpi: update expected data files Gerd Hoffmann
2020-10-21 14:48 ` [PULL 07/17] tests/acpi: disallow changes for microvm/APIC.pcie Gerd Hoffmann
2020-10-21 14:48 ` [PULL 08/17] acpi: add aml builder stubs Gerd Hoffmann
2020-10-21 14:48 ` [PULL 09/17] usb/xhci: add include/hw/usb/xhci.h header file Gerd Hoffmann
2020-10-21 14:48 ` [PULL 10/17] usb/xhci: add xhci_sysbus_build_aml() helper Gerd Hoffmann
2020-10-21 14:48 ` [PULL 11/17] usb/xhci: fixup xhci kconfig deps Gerd Hoffmann
2020-10-21 14:48 ` [PULL 12/17] microvm: add usb support Gerd Hoffmann
2020-10-21 14:48 ` [PULL 13/17] tests/acpi: allow updates for expected data files Gerd Hoffmann
2020-10-21 14:48 ` [PULL 14/17] tests/acpi: add empty tests/data/acpi/microvm/DSDT.{usb, rtc} files Gerd Hoffmann
2020-10-21 14:48 ` [PULL 15/17] tests/acpi: add microvm usb test Gerd Hoffmann
2020-10-21 14:48 ` Gerd Hoffmann [this message]
2020-10-21 14:48 ` [PULL 17/17] tests/acpi: update expected data files Gerd Hoffmann
2020-10-22 10:12 ` [PULL 00/17] Microvm 20201021 patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201021144852.16665-17-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=slp@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).