Virsh: Moving a VM image to a new machine. 
1.- rsync .img image file to new machine.
2.- Output the xml definition file in the source machine:
[acool@oldmachine ~]$sudo virsh dumpxml VMNAME > VMNAME.xml

3.- Adjust path of .img file image in xml file as needed.
4.- On the destination machine define the new VM:
[acool@newmachine ~]$sudo virsh define VMNAME.xml

5.- Start VM.

Big shout-out to dyasny.

Comments
Comments are not available for this entry.
2025 By Angel Cool