On 07/12/2012 01:17 PM, siddharth srivastava wrote: > Hi > > I am working on a virtualization project for which I am using > Qemu(0.13) + KVM.
That's rather old; we're now at 1.1, and there have been some migration bugs fixed in the meantime. >I am trying to get an automated switch to live > migration based on certain condition. > According to [1], it is possible to start migration via Qemu Monitor. > Since I am trying to invoke this via C code, is it possible to do so ? Yes. See libvirt if you want an example of C code that starts a migration via the monitor. > Also is it possible to save ram snapshot without stopping the VM from > the code (probably by reusing some qemu code ?) Any pointers would > also be helpful. Again, you may be better served by reusing what libvirt already supports on this front. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature