You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have never used Fedora based distributions, but the QEMU wiki says that these are the dependencies necessary to build it (obviously keep an installation of the QEMU package, so you don't miss any runtime dependencies): dnf install git glib2-devel libfdt-devel pixman-devel zlib-devel bzip2 ninja-build python3
It also seems like your distro is atomic meaning that most of the (/) directory is read-only to users or could be replaced by an update, so installing qemu to /usr/local/bin (default of make install) might not work. I would try compiling it using just make in your home folder and changing the ownership (0:0) and permissions (755) for security reasons. Then I would change the emulator in your Libvirt domain XML to the build dir:
<domain>
<!-- other code -->
<devices>
<emulator>/home/user/path/to/qemu/build/qemu-system-x86_64</emulator>
</devices>
</domain>
So to anyone else who stumbles upon this, I found it easier to spin up a specific distrobox container based on the same version of fedora (non ublue atomic etc) that i used to compile it.
and then I had issues with the default libvirt group having permission to acess my users home directory, and rather then open up the permissions of my directory I simply threw it in a new directory made for this purpose in /home/
that allowed libvirt to execute the binary after i set ownership 0:0 and permissions 755
How would I go about using this patch with something like fedora bazzite?
The text was updated successfully, but these errors were encountered: