From: Eric Blake <eblake@redhat.com>
To: siddharth srivastava <akssps011@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] invoking monitor command without Ctrl+Alt+2
Date: Thu, 12 Jul 2012 13:30:29 -0600 [thread overview]
Message-ID: <4FFF25D5.2080005@redhat.com> (raw)
In-Reply-To: <CAHuvxeXFcD-j3B5m45P1TPo06r3T_4yG-hntTA6Zfz2-8T3ppg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
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 eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]
next prev parent reply other threads:[~2012-07-12 19:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-12 19:17 [Qemu-devel] invoking monitor command without Ctrl+Alt+2 siddharth srivastava
2012-07-12 19:30 ` Eric Blake [this message]
[not found] ` <CAHuvxeU+Gdk5GW6NibgbOrp1ta+CPAduQcLAWt_CX+GAZ9LshA@mail.gmail.com>
[not found] ` <4FFF2980.4080006@redhat.com>
[not found] ` <CAHuvxeVwL6J33t2s6SEwScEf44Ww4GZf2jwaZqtz2GOHN6Zukw@mail.gmail.com>
2012-07-13 4:14 ` siddharth srivastava
2012-07-13 12:07 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FFF25D5.2080005@redhat.com \
--to=eblake@redhat.com \
--cc=akssps011@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.