I wonder if someone can give me a pointer on where in this seemingly straight forward process I’ve gone awry. I’ve taken a quick pointer from this brief Server Fault post.
But, on the two machines I’m moving I end up with:
error: Failed to define domain from Win7.xml
error: unsupported configuration: domain configuration does not support video model 'qxl'
EDIT: Oops, should have done more home work on that one, answered here a year ago…
And this one’s coming from a Debian (PureOS) based system - I wonder if binaries are in a different place or name? which qemu-system-x86_64
or qemu-system
brings up nothing:
error: Failed to define domain from Android-x86-9.0.xml
error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64: No such file or directory
Here’s the whole process:
Summary
[root@frontserver ~]# virsh list --all
Id Name State
-----------------------
- Win7 shut off
[root@frontserver ~]# virsh dumpxml Win7 > Win7.xml
[root@frontserver ~]#
[root@server ~]# rsync -avzXA root@frontserver.lan:/var/lib/libvirt/images/Win7.qcow2 /var/lib/libvirt/images/Win7.qcow2
root@frontserver.lan's password:
receiving incremental file list
sent 20 bytes received 100 bytes 16.00 bytes/sec
total size is 32,216,317,952 speedup is 268,469,316.27
[root@server ~]#
[root@server ~]# scp root@frontserver.lan:/root/Win7.xml /root/Win7.xml
root@frontserver.lan's password:
Win7.xml 100% 5880 2.3MB/s 00:00
[root@server ~]#
[root@server ~]# virsh define Win7.xml
error: Failed to define domain from Win7.xml
error: unsupported configuration: domain configuration does not support video model 'qxl'
[root@server ~]#
And:
root@mysmachine:~# virsh list --all
Id Name State
----------------------------------
- Android-x86-9.0 shut off
root@mysmachine:~# virsh dumpxml Android-x86-9.0 > Android-x86-9.0.xml
root@mysmachine:~#
[root@server ~]# rsync -avzXA --progress root@mysmachine.lan:/home/libvirt/images/Android-x86.qcow2 /var/lib/libvirt/images/Android-x86.qcow2
root@mysmachine.lan's password:
receiving incremental file list
rsync: [receiver] rsync_xal_set: lremovexattr("/var/lib/libvirt/images/Android-x86.qcow2","security.selinux") failed: Permission denied (13)
sent 28 bytes received 96 bytes 16.53 bytes/sec
total size is 15,034,941,440 speedup is 121,249,527.74
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1823) [generator=3.2.3]
[root@server ~]# rsync -avz --progress root@mysmachine.lan:/home/libvirt/images/Android-x86.qcow2 /var/lib/libvirt/images/Android-x86.qcow2
root@mysmachine.lan's password:
receiving incremental file list
sent 20 bytes received 88 bytes 12.71 bytes/sec
total size is 15,034,941,440 speedup is 139,212,420.74
[root@server ~]#
[root@server ~]# scp root@mysmachine.lan:/root/Android-x86-9.0.xml /root/Android-x86-9.0.xml
root@mysmachine.lan's password:
Android-x86-9.0.xml 100% 5242 287.7KB/s 00:00
[root@server ~]#
[root@server ~]# virsh define Android-x86-9.0.xml
error: Failed to define domain from Android-x86-9.0.xml
error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64: No such file or directory
[root@server ~]#