-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find qemu in /usr/libexec or via qemu-system-$(arch) #329
Conversation
You have to appease the ShellCheck gods, otherwise LGTM |
Shouldn't you also update the qemu call inside the qemu_wrapper script in |
Oh wow I forgot about that one. I think that one is mostly x86_64 specific for now, but yeah let's wrap it too. |
`qemu-kvm` is going away in Fedora; invoke qemu how libvirt does it. Similarly on RHEL, it's in `/usr/libexec` as QEMU is an implementation detail of libvirt (or something), so let's find it there.
753ca5a
to
eec20c7
Compare
Updated 🆕 |
asked @r4f4 to review and also test this on other architectures |
It'll still fail on other arches because of some arch specific options, e.g, no KVM on aarch64 and the binary being |
in that case we can focus on x86_64 here and do a follow up for the others. |
FWIW, when using this patch in an EL7
EL7 ships an embarassingly old version of
And support for Me right now: 😭 |
I would really hope we can focus on RHEL8 soon. But if not remember there are actually two qemu packages/streams in RHEL7. The one that gets rebased regularly is called |
This papercut has put me over the edge...I'm refocusing on EL8 today. |
As long as it works I'm fine with rhel 8 or 7. |
Relatedly in RHEL7 (at least initially) libguestfs used qemu directly. In RHEL8 it defaults to running via libvirt. I think the reason they did this I suspect is maintaining the qemu abstraction (including which args are available on which architectures) is a nontrivial maintenance task. The problem with this though is we really don't want a persistent daemon...but if we have to we can suck it up and try switching to libvirt across the board. |
Noting that we need additional fixes for non Any reasons not to merge this? |
Yeah, let's merge. Clearly not the end state as someone noted it's |
qemu-kvm
is going away in Fedora; invoke qemu how libvirt does it.Similarly on RHEL, it's in
/usr/libexec
as QEMU is an implementationdetail of libvirt (or something), so let's find it there.