qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/3] Enable avocado testing for Xen guests


From: David Woodhouse
Subject: [PATCH v2 0/3] Enable avocado testing for Xen guests
Date: Wed, 8 Mar 2023 11:19:49 +0000

I'd love to test other operating systems too (FreeBSD does work if I 
abuse the stuff in tests/vm/ and add a Xen guest mode). But this is
enough for now to help catch regressions on the QEMU side.

Especially the polling for the event channel GSI deassertion is likely 
to be fragile, and in the not-so-distant future I really do want to add 
an explicit EOI hook in the interrupt controllers; as discussed, VFIO 
INTx would benefit from that too.

When the guest kernel boots with 4 CPUs, it ends up initially targeting 
the event channel GSI to CPU#2, and then testing the migration.

Since nobody evidently cared about the I/OAPIC migration bug in the 7
years since it was introduced with the first split-irqchip support,
that fix might as well stay here in this series.

v2: 
https://git.infradead.org/users/dwmw2/qemu.git/shortlog/refs/heads/xenfv-test-2

 • Use xen-disk now that the PR adding support for that has been submitted

 • Include the I/O APIC migration fix, so that we can use -smp 4 

v1: 
20230303125126.1269861-1-dwmw2@infradead.org/">https://lore.kernel.org/qemu-devel/20230303125126.1269861-1-dwmw2@infradead.org/
    
https://git.infradead.org/users/dwmw2/qemu.git/shortlog/refs/heads/xenfv-test

David Woodhouse (3):
      hw/intc/ioapic: Update KVM routes before redelivering IRQ, on RTE update
      tests/avocado: Add Fedora 34 distro, including kernel/initrd checksums
      tests/avocado: Test Xen guest support under KVM

 hw/intc/ioapic.c                       |   3 +-
 tests/avocado/avocado_qemu/__init__.py |  27 ++++++
 tests/avocado/xen_guest.py             | 147 +++++++++++++++++++++++++++++++++
 3 files changed, 175 insertions(+), 2 deletions(-)
 create mode 100644 tests/avocado/xen_guest.py





reply via email to

[Prev in Thread] Current Thread [Next in Thread]