Moving a virtual machine
Phil Meyer
pmeyer at themeyerfarm.com
Thu Jun 3 15:11:47 UTC 2010
On 06/03/2010 01:59 AM, Matthew Saltzman wrote:
> I set up a virtual machine in virt-manager on one machine, and now I'd
> like to port it to another machine. I copied /var/lib/libvirt to the
> other machine, but the VM doesn't show up in the list of VMs in
> virt-manager.
>
> I must be missing something, but I'm not sure what. Does anyone know?
> Is there something that needs to be set?
>
> The copy of /var/lib/libvirt is on a removable USB drive, and I
> symlinked the directory on the target machine to the directory on the
> disk. Do I need to do something more?
>
> TIA.
>
You will also need the xml file that defines the VM from:
/etc/libvirt/qemu/<VMname.xml>
You could also set up permissions between the two systems and 'virsh
migrate' the VM over as well.
Good luck!
More information about the users
mailing list