Add avocado tests to boot Xen guests in various interesting modes:
• MSI delivered via PIRQ.
• MSI delivered directly with vAPIC.
• Event channel interrupt to I/O APIC.
• Event channel interrupt to legacy PIC.
Using AHCI disk for now so this should work with the basic platform
support that's already in Paolo's pull request. After phase 2 of the
Xen support is merged, we can switch it to use xen-disk instead.
The warnings about not being able to validate the kernel and initrd
images made me sad, so I added hashes of those to the distro structure.
David Woodhouse (2):
tests/avocado: Add Fedora 34 distro, including kernel/initrd checksums
tests/avocado: Test Xen guest support under KVM
tests/avocado/avocado_qemu/__init__.py | 27 ++++++++
tests/avocado/xen_guest.py | 113 +++++++++++++++++++++++++++++++++
2 files changed, 140 insertions(+)