On Thu, Jul 30, 2020 at 02:10:58PM +0200, Aleksandra Fedorova wrote:
The scenario we use for current x86 dist-git tests is based on vms:
spin up a full vm with qemu-kvm, ssh inside it, install a package and
run the test script.
I guess you could do something with virt-builder, but ...
Should it be possible to do the same with qemu-system-s390x? Maybe
even with nested virtualization, with s390x inside x86?
qemu-system-s390x uses TCG to emulate instructions (so does
qemu-user). qemu emulates a full System-z machine, at least enough to
boot and run Linux. Nested virtualization would indicate something to
do with KVM, but that is never possible when the guest arch != host arch.
In the past support for both POWER and s390x has varied between what
Fedora (especially the kernel) requires and what qemu can emulate. I
haven't actually tried it that recently, so I'm not sure if it works
right now. Generally if it boots it will usually work very reliably.
But when it breaks it can be painful to try to discover what new
feature is missing or what qemu command line option is required to
enable/disable some machine feature to get it to work.
So I guess yes, it's the way to go, and it'll often work until it
doesn't and then you'll have some debugging on your hands.
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.