From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCA8J-0003fx-Rj for qemu-devel@nongnu.org; Tue, 29 Jul 2014 12:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCA8E-0007QH-2d for qemu-devel@nongnu.org; Tue, 29 Jul 2014 12:20:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCA8D-0007Ou-QE for qemu-devel@nongnu.org; Tue, 29 Jul 2014 12:20:06 -0400 Message-ID: <53D7BB0F.6060103@redhat.com> Date: Tue, 29 Jul 2014 09:17:35 -0600 From: Eric Blake MIME-Version: 1.0 References: <1406302776-2306-1-git-send-email-sanidhya.iiith@gmail.com> <1406302776-2306-8-git-send-email-sanidhya.iiith@gmail.com> In-Reply-To: <1406302776-2306-8-git-send-email-sanidhya.iiith@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="c7LmfE76fdBTto0XXrhRehuBvdUa8tS7p" Subject: Re: [Qemu-devel] [PATCH RFC v2 07/12] VMState test: qmp interface for querying the vmstate testing process List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sanidhya Kashyap , qemu list Cc: "Dr. David Alan Gilbert" , Juan Quintela This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --c7LmfE76fdBTto0XXrhRehuBvdUa8tS7p Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/25/2014 09:39 AM, Sanidhya Kashyap wrote: > This patch provides the information about an already executing testing > process. I have modified the qmp command to query-test-vmstates from > test-vmstates-get-info. >=20 > Signed-off-by: Sanidhya Kashyap > --- > qapi-schema.json | 34 ++++++++++++++++++++++++++++++++++ > qmp-commands.hx | 25 +++++++++++++++++++++++++ > savevm.c | 18 ++++++++++++++++++ > 3 files changed, 77 insertions(+) >=20 > +## > +{ 'type': 'VMStateLogStateInfo', > + 'data': { 'current-iteration': 'int', > + 'iterations': 'int', > + 'period': 'int' } } Looks okay... > +++ b/qmp-commands.hx > +SQMP > +query-test-vmstates-info > +------------------------ > + > +Get the parameters information > + > +- "current_iteration": the current iteration going on s/_/-/ > +- "iterations:" the total number of assigned iterations > +- "period": the sleep interval between the iteration > + > +Example: > + > +-> { "execute": "query-test-vmstates" } > +<- { "return": { > + "current_iteration": 3, =2E..but spelling doesn't match the actual code. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --c7LmfE76fdBTto0XXrhRehuBvdUa8tS7p 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJT17sPAAoJEKeha0olJ0Nqrq4IAKgjNy5fyI0GJ0OvEZ+8zyas 5QLKPn5oSZHMFOz0B2eBYgqsQ6w0onPwWkNUHmrFiFYB8JDhT5/K6yt4MBg5lmHW x2usdIZzaDYPCvq8J/gwHS9EvxSduc2XCoVsZ0pAYQtAJeKXtjO+rY3SYsvfphg8 mN4r30DAk6OGDknhfqPhDQ3OKEYTsJ2wtUynR4BhpVNEFNqs+fUjrqnY/YZgYQDO TUoCdvU7+gRPOw9VVUbminURGAaQ6V4aMfk+frc0JEtk78EXcjkVP0pMbSgWXEt3 zf5sWsuj/iVUPWPKw1iOvmfO1lhFytPZb03Cl0RKo0Rq1VsRUqUso+xldYbkVnk= =nqm2 -----END PGP SIGNATURE----- --c7LmfE76fdBTto0XXrhRehuBvdUa8tS7p--