qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Enable avocado testing for Xen guests
@ 2023-03-08 11:19 David Woodhouse
  2023-03-08 11:19 ` [PATCH v2 1/3] hw/intc/ioapic: Update KVM routes before redelivering IRQ, on RTE update David Woodhouse
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: David Woodhouse @ 2023-03-08 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Cleber Rosa, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Beraldo Leal, Paolo Bonzini,
	Paul Durrant, Michael S. Tsirkin, Peter Xu

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: 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




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-09 11:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-08 11:19 [PATCH v2 0/3] Enable avocado testing for Xen guests David Woodhouse
2023-03-08 11:19 ` [PATCH v2 1/3] hw/intc/ioapic: Update KVM routes before redelivering IRQ, on RTE update David Woodhouse
2023-03-09 11:44   ` Paolo Bonzini
2023-03-08 11:19 ` [PATCH v2 2/3] tests/avocado: Add Fedora 34 distro, including kernel/initrd checksums David Woodhouse
2023-03-08 17:42   ` Alex Bennée
2023-03-08 19:20     ` David Woodhouse
2023-03-09  8:51       ` David Woodhouse
2023-03-08 11:19 ` [PATCH v2 3/3] tests/avocado: Test Xen guest support under KVM David Woodhouse
2023-03-08 17:45   ` Alex Bennée
2023-03-08 19:07     ` David Woodhouse

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).