Hi, we are evaluating if we can make emulation of arm64 via qemu work on x86_64, so we can test arm64 qcow2's. Seems already 2 teams are interested in this (Kernel QE and Automotive).
According to our information with the help of qemu-system-aarch64-core it could be made working, we are just not sure if that could fit into what testcloud can provide or we need another provisioner for this use case.
qemu-system-aarch64-core
Any idea @frantisekz or somebody from Fedora QA has some experience in this field?
Metadata Update from @frantisekz: - Issue assigned to frantisekz
There is now very preliminary build of testcloud that supports both aarch64 and ppc64le on x86_64 (native, eg. aarch64 on aarch64 might work but I haven't tested that yet). Apart from that, I haven't tested user sessions either, so they may or may not work for now.
The copr is: https://copr.fedorainfracloud.org/coprs/frantisekz/testcloud-wip/
With that build, you can create x86_64/aarch64/ppc64 vms, eg. for Fedora 35:
$ testcloud instance create --arch aarch64 --timeout 3600 fedora:35 $ testcloud instance create --arch ppc64le --timeout 3600 fedora:35
Be sure to add timeout as the default values won't work too well for emulating a different arch (it doesn't take an hour, just didn't come to some sensible value yet). Also, you may need to wait a while after testcloud tells you the ssh command as the openssh service takes a few more secs to start up.
Also, aarch64 is currently UEFI only, Fedora works with that, I'll dig into it more if there is need for non-UEFI boot. To test both example commands above, you'll need following additional packages: edk2-aarch64 qemu-system-aarch64 qemu-system-ppc
I'll be glad for any testing, the code in the #115 is a bit rough as of now, but should work reliably for basic scenarios outlined above.
@frantisekz :rocket: I lack a bit time to test this :(
@psss @lzachar if you find time sooner ...
FYI: I've created a draft PR for tmt ( https://github.com/psss/tmt/pull/1040 ) and included that in testcloud-wip copr ( https://copr.fedorainfracloud.org/coprs/frantisekz/testcloud-wip/ ).
Fixed by testcloud-0.7.0.
Metadata Update from @frantisekz: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.