From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2ij4-0007b5-R7 for qemu-devel@nongnu.org; Sat, 18 Aug 2012 09:06:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2ij3-000289-Pm for qemu-devel@nongnu.org; Sat, 18 Aug 2012 09:06:02 -0400 Received: from qmta01.emeryville.ca.mail.comcast.net ([76.96.30.16]:60530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2ij3-00027w-GU for qemu-devel@nongnu.org; Sat, 18 Aug 2012 09:06:01 -0400 Message-ID: <502F9337.3050206@redhat.com> Date: Sat, 18 Aug 2012 07:05:59 -0600 From: Eric Blake MIME-Version: 1.0 References: <1345288635-1369-1-git-send-email-quintela@redhat.com> <1345288635-1369-9-git-send-email-quintela@redhat.com> In-Reply-To: <1345288635-1369-9-git-send-email-quintela@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1BF004273DC88066F6841E46" Subject: Re: [Qemu-devel] [PATCH 8/8] migration: print expected downtime in info migrate 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) --------------enig1BF004273DC88066F6841E46 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 > --- > arch_init.c | 2 ++ > hmp.c | 4 ++++ > migration.c | 2 ++ > migration.h | 1 + > qapi-schema.json | 5 +++++ > qmp-commands.hx | 6 ++++++ > 6 files changed, 20 insertions(+) >=20 > +++ b/qmp-commands.hx > @@ -2244,6 +2244,9 @@ The main json-object contains the following: > time (json-int) > - "downtime": only present when migration has finished correctly > total amount in ms for downtime that happened (json-in= t) > +- "expected-downtime": only present while migration is active > + total amount in ms for downtime that was calculated on= > + the last bitmap round (json-int) > - "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) > @@ -2305,6 +2308,7 @@ Examples: > "remaining":123, > "total":246, > "total-time":12345, > + "expected-downtime":12345, TAB damage, on several examples. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig1BF004273DC88066F6841E46 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/ iQEcBAEBCAAGBQJQL5M3AAoJEKeha0olJ0NqCKkH/2o7s9ZDE271xmhQ3Y/hoqtK 0g6FsNPxkJm8THwutCvR4zMyEdwNneQ++ADGIFEqmCkMfvtmjUsy7XrWNJyu7b2O Fa162QowsLN4AqND+uUunZlXMa2k9KKTs0a1vtjcRrZR+Mr7Ru6t1odWcZepM9uH 5KP6iGgxXiLDLOrpa1JblcnTa9GSA7WrdmkaKw8OL9ug9G17IDHIZm8Bf7Tx4QG2 H9fvamkMqZEub+8je6QCvAkSrYbsnxpIMVJg07+bG39mymojv8Nk4BeiPBiVfZRU F7SMVMJZO8QBhhkCt9FqhR91536Bp72zcuKUWddYKJVenps9gFvhhgIGb7MGcCU= =Rtcn -----END PGP SIGNATURE----- --------------enig1BF004273DC88066F6841E46--