Re: Can VM be copied to another PC (Solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi kashyap,

Thanks for your advice.


Quoting Kashyap Chamarthy <kashyap.cv@xxxxxxxxx>:

On Mon, Feb 1, 2010 at 9:32 AM, <satimis@xxxxxxxxxxxxxx> wrote:

- snip -

1) 'virsh dumpxml <domain(s) (or) id > '    (this will dump the  guest
machine info. into XML)
2) copy your qcow2(or whatever format) image files from host1 to host2(which
of similar config as host1)
3) 'virsh define <xml file>'  for the dumped xml  files from step 1) (for
each of the guests)
4) Now you should be good to start/run the guests on your host2 running KVM

Your milage may vary. See virsh manpages for more.

Your advice works here.

host-1 Debian 5.0 32bit
host-2 Fedora 12 64bit

But have to edit /etc/libvirt/qemu/VM.xml

changing;
<emulator>/usr/bin/kvm</emulator>
as;
<emulator>/usr/bin/qemu-kvm</emulator>


I tried my steps suggested on my original posting. It works as well. Changing VM.xml as mentioned above is also necessary.


B.R.
Stephen L

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux