From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpPAz-0002CZ-8g for qemu-devel@nongnu.org; Thu, 12 Jul 2012 15:35:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpPAy-0000SR-5M for qemu-devel@nongnu.org; Thu, 12 Jul 2012 15:35:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpP5s-0007ls-II for qemu-devel@nongnu.org; Thu, 12 Jul 2012 15:30:32 -0400 Message-ID: <4FFF25D5.2080005@redhat.com> Date: Thu, 12 Jul 2012 13:30:29 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigEACC6FC0A3AE252E0A49241F" Subject: Re: [Qemu-devel] invoking monitor command without Ctrl+Alt+2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: siddharth srivastava Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEACC6FC0A3AE252E0A49241F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/12/2012 01:17 PM, siddharth srivastava wrote: > Hi >=20 > 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. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigEACC6FC0A3AE252E0A49241F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP/yXWAAoJEKeha0olJ0NqvCEH/jD5xQ1BvGNXMpBah6XCs3Nm c5YO+84XkM+z+foRQjcAJjiZdQM8Nrg8uhpTVcZsOoFlSVRzFAbPjwOaSh4DZIf0 KPR8HAnd+BtEW7n/Qc2bFwILuFyEBW8cLGVc832G7WQxWQ80HL4/JxITsC6F+lL1 nJGQx3EJYZ1KXrTG7fHtdJZnxuJOzSh+LHiQ57743Nt4dPiOkIycc/+XZDdcNQ30 ldw+15o8db17TB2g5OrbATQrtvUUPPiMMLzSn0cD9FVXr6VxegO7GyJB0OMxn3cz 1kwcpiP3AFc6X0pbRVoOnMGodyGq5XB/mp58NtyDE1p6jeENMizamzbddYb5PyI= =/FO+ -----END PGP SIGNATURE----- --------------enigEACC6FC0A3AE252E0A49241F--