Sample Header Ad - 728x90

qemu-system-x86_64 not found when moving VMs between computers

0 votes
1 answer
1973 views
I am moving GNOME Boxes virtual machines from Fedora to Guix following [the guide on Fedora wiki](https://fedoraproject.org/wiki/Move_boxes_virtual_machines) . On the Fedora workstation:
$ virsh list --all
 Id   Name           State
-------------------------------
 -    win10          shut off
$ cd ~
$ virsh dumpxml win10 >win10.xml
$ mv .local/share/gnome-boxes/images/win10 win10
Then, I moved win10 and win10.xml to the home directory at the new machine. On that Guix system:
$ guix install gnome-boxes
$ cd ~
$ mv win10 .local/share/gnome-boxes/images/win10
$ guix install libvirt
$ virsh create win10.xml
error: Failed to create domain from win10.xml
error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64: No such file or directory
qemu-system-x84_64 is located in a different place:
$ type qemu-system-x86_64
qemu-system-x86_64 is /run/current-system/profile/bin/qemu-system-x86_64
So, how do I complete importing the virtual machine?
Asked by Roman Riabenko (2436 rep)
Jul 14, 2023, 09:10 PM