Another placeholder just to jog my memory (copied straight from Server Fault, see below)
- copy the VM’s disks from /var/lib/libvirt/images on src host to the same dir on destination host
- on the source host run
virsh dumpxml VMNAME > domxml.xml
and copy this xml to the dest. host - on the destination host run
virsh define domxml.xml
start thew VM.
- If the disk location differs, you need to edit the xml’s devices/disk node to point to the image on the destination host
- If the VM is attached to custom defined networks, you’ll need to either edit them out of the xml on the destination host or redefine them as well (
virsh net-dumpxml > netxml.xml
and thevirsh net-define netxml.xml && virsh net-start NETNAME & virsh net-autostart NETNAME
)