From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2ihV-0006bV-28 for qemu-devel@nongnu.org; Sat, 18 Aug 2012 09:04:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2ihT-0001HV-SJ for qemu-devel@nongnu.org; Sat, 18 Aug 2012 09:04:24 -0400 Received: from qmta06.emeryville.ca.mail.comcast.net ([76.96.30.56]:60701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2ihT-0001HI-JS for qemu-devel@nongnu.org; Sat, 18 Aug 2012 09:04:23 -0400 Message-ID: <502F92D4.2090900@redhat.com> Date: Sat, 18 Aug 2012 07:04:20 -0600 From: Eric Blake MIME-Version: 1.0 References: <1345288635-1369-1-git-send-email-quintela@redhat.com> <1345288635-1369-6-git-send-email-quintela@redhat.com> In-Reply-To: <1345288635-1369-6-git-send-email-quintela@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigC7ACFC87DFDA241715B1B3E9" Subject: Re: [Qemu-devel] [PATCH 5/8] migration: print total downtime for final phase of migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC7ACFC87DFDA241715B1B3E9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/18/2012 05:17 AM, Juan Quintela wrote: > Signed-off-by: Juan Quintela > --- > hmp.c | 4 ++++ > migration.c | 6 +++++- > migration.h | 1 + > qapi-schema.json | 7 ++++++- > qmp-commands.hx | 3 +++ > 5 files changed, 19 insertions(+), 2 deletions(-) > +++ b/qmp-commands.hx > @@ -2242,6 +2242,8 @@ The main json-object contains the following: > - "total-time": total amount of ms since migration started. If > migration has ended, it returns the total migration > time (json-int) > +- "downtime": only present when migration has finished correctly > + total amount in ms for downtime that happened (json-in= t) > - "ram": only present if "status" is "active", it is a json-object wit= h the > following RAM information (in bytes): > - "transferred": amount transferred (json-int) > @@ -2279,6 +2281,7 @@ Examples: > "remaining":123, > "total":246, > "total-time":12345, > + "expected-downtime":12345, s/expected-// --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigC7ACFC87DFDA241715B1B3E9 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/ iQEcBAEBCAAGBQJQL5LUAAoJEKeha0olJ0NqTvwH/3sZ/Ft61A+eHsfn/y1Q2G1A kttorW+e5Y/oILEVLJaipTuTHKrRUAkbbPif8W/YbaNq31ip08O9gsFPV+Nbx3tR haYS4Afo3Mon6jhkuO478Pp3nspU8xNAP/5Q2ZQ+7Cvc5+srV6WJi4AMEWJZ576z +z/GOwxAUHOtRLLC+ULDep+YVJD/uuvaRVf+sKjy8UHPe52EF+h0YR7LV6u0XeSi LxxFe+mpqhdHPJUYIogKahGhRCjaxbV7BTebR4kv9TtxXVCURFCeKO3VzxddU65I 7ypPSGQBTmeonpOE93Hbvkvy4w/HcrM2sqGG6SniJWtOD3iZOujjtT29kXG22tA= =OsVs -----END PGP SIGNATURE----- --------------enigC7ACFC87DFDA241715B1B3E9--