I’m wondering what is the correct way of moving a VM between two KVM hosts without using any kind of shared storage
Would copying the disk files and the XML dump from the source KVM machine to the destination one suffice? If so, what commands need to be run to import the vm on the destination?
OS is Ubuntu on both the Dom0’s and DomU.
Thanks in advance
Yes, just copying the XML file and the virtual disk images is sufficient, but this obviously precludes a “live” migration. The VM must be shut off during this procedure.
Once copied to the destination,
libvirtd must be reloaded or restarted to recognize the new XML file.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.