[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] invoking monitor command without Ctrl+Alt+2
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] invoking monitor command without Ctrl+Alt+2 |
Date: |
Thu, 12 Jul 2012 13:30:29 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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 address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature