Re: Can we use emulation of other architectures to run integration tests?

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

 



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

Rich.

-- 
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.
http://people.redhat.com/~rjones/virt-top
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux