From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YImvq-00070j-LH for qemu-devel@nongnu.org; Tue, 03 Feb 2015 18:30:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YImvn-0005J7-Du for qemu-devel@nongnu.org; Tue, 03 Feb 2015 18:30:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YImvn-0005Iy-4M for qemu-devel@nongnu.org; Tue, 03 Feb 2015 18:30:55 -0500 Message-ID: <54D15A28.5000206@redhat.com> Date: Tue, 03 Feb 2015 16:30:48 -0700 From: Eric Blake MIME-Version: 1.0 References: <1422875149-13198-1-git-send-email-liang.z.li@intel.com> <1422875149-13198-14-git-send-email-liang.z.li@intel.com> In-Reply-To: <1422875149-13198-14-git-send-email-liang.z.li@intel.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mfT0NiJbnXD9uorXTK6vkKI2JD8s4tC89" Subject: Re: [Qemu-devel] [v4 13/13] migration: Add command to query migration parameter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liang Li , qemu-devel@nongnu.org Cc: quintela@redhat.com, armbru@redhat.com, dgilbert@redhat.com, Yang Zhang , amit.shah@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mfT0NiJbnXD9uorXTK6vkKI2JD8s4tC89 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/02/2015 04:05 AM, Liang Li wrote: > Add the qmp and hmp commands to query the parameters used in live > migration. >=20 > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > --- I'd squash this with 12, if it doesn't make the patch feel too large. > +Query current migration parameters > + > +- "parameters": migration parameters value > + - "compress-level" : compression level value (json-int) > + - "compress-threads" : compression thread count value (json-i= nt) > + - "decompress-threads" : decompression thread count value (js= on-int) > + > +Arguments: > + > +Example: > + > +-> { "execute": "query-migrate-parameters" } > +<- { "return": [ { "value": 1, "parameter": "compress-level" } ] } Should the example also include 'compress-threads'? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --mfT0NiJbnXD9uorXTK6vkKI2JD8s4tC89 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 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJU0VooAAoJEKeha0olJ0NqSX8IAII+I6mTvfD/t72lR/k3DUOE ed7ZiYCS2W/YyLsDcD56KO3xRtqXS2KSTrsdjQg7hqKwpKRorU+XiIoGtEvD76z9 A/Rjr8EuL2tTj9MNcFEq/zKmy8TgKyeqwiTzm0PtClapEN8QbcLgEr1zX3qz2ZoQ oZX2vJKLRKxfscuXDN1QxKSatWZLTizGBfwjTkUGTOHT3kkppHWbYO04/Mh77oOA uOaGZ9DSxTvnDbzCcm7RMw7dg/FHLmkQPbIJNU/9CVVxqcmTccgirAwzsd/OyJbe c4pKYho2DAiOqzUWijVkZxdkKr3pROO7dHGAJ7V7innc/5odIKovTHP0uIL708Y= =4wxC -----END PGP SIGNATURE----- --mfT0NiJbnXD9uorXTK6vkKI2JD8s4tC89--