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
gnome-boxes: can't start vms created in different versions #57931
Comments
It writes the full path of Every time this happens I edit the configuration files to update the path. It is a nuisance. |
To avoid this you must install the qemu binaries globally in some manner. Fixes NixOS#57931
This is a problem again since #136789 added libvirt appears to require that the path in
so just putting I can't see a way of fixing this apart from removing qemu from $PATH again and requiring that qemu be installed alongside Boxes. |
Boxes insert the absolute path of `qemu-system-x86_64` program as found on `PATH` into the `<emulator>` element of the libvirt config. But if we add qemu to `PATH` using a wrapper, the saved path will point directly to a store path, which will break when the store path is garbage collected. Let’s drop it again so that qemu can be picked up from the environment using a more stable path such as `/run/libvirt/nix-emulators/qemu-system-x86_64` introduced by the `virtualisation.libvirtd.enable = true;` NixOS option. This reverts commit ba1ecbe, essentially re-applying 1203370. Fixes: #57931
Boxes insert the absolute path of `qemu-system-x86_64` program as found on `PATH` into the `<emulator>` element of the libvirt config. But if we add qemu to `PATH` using a wrapper, the saved path will point directly to a store path, which will break when the store path is garbage collected. Let’s drop it again so that qemu can be picked up from the environment using a more stable path such as `/run/libvirt/nix-emulators/qemu-system-x86_64` introduced by the `virtualisation.libvirtd.enable = true;` NixOS option. This reverts commit ba1ecbe, essentially re-applying 1203370. Fixes: #57931
GNOME Boxes can't start vms created in different versions
Different versions of gnome-boxes cannot start vms created in other versions.
Specifically when the path to
qemu
in its wrapper changes.Steps to reproduce
qemu
in it's wrapperNotes
I think this sounds more like a bug in
gnome-boxes
if anything.The text was updated successfully, but these errors were encountered: