I am moving GNOME Boxes virtual machines from Fedora to Guix following the guide on Fedora wiki.
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?