From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVMG3-0003oG-Pz for qemu-devel@nongnu.org; Thu, 25 Apr 2013 09:30:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVMFx-0007v2-RU for qemu-devel@nongnu.org; Thu, 25 Apr 2013 09:30:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVMFx-0007uf-Jf for qemu-devel@nongnu.org; Thu, 25 Apr 2013 09:30:37 -0400 Message-ID: <51792FFA.2010803@redhat.com> Date: Thu, 25 Apr 2013 07:30:34 -0600 From: Eric Blake MIME-Version: 1.0 References: <1366807646-8473-2-git-send-email-akong@redhat.com> <1366824804-24532-1-git-send-email-akong@redhat.com> <20130424142020.4e6a54a1@redhat.com> <517834DC.1040602@redhat.com> <20130425035258.GE3230@t430s.nay.redhat.com> <20130425083600.021e8bec@redhat.com> In-Reply-To: <20130425083600.021e8bec@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2DQQTXSUSJCOXUSLURDSI" Subject: Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: aliguori@us.ibm.com, Amos Kong , qemu-devel@nongnu.org, jyang@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2DQQTXSUSJCOXUSLURDSI Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04/25/2013 06:36 AM, Luiz Capitulino wrote: >>> One other concern - you document that if a flag parameter is omitted,= >>> then it defaults to 1. Is that really true? >> >> >> I'm wrong. If it's omitted in cmdline, we will give it a default value= =2E >> >> This kind of default info is only added in help descriptions right >> now, we can add a new item 'default_value' to option.h:QemuOptDesc & >> qapi-schema.json:CommandLineParameterInfo in future? >=20 > Yes. I don't think we'll have enough time to fix this now. Agreed - we've added additional information in the QMP types returned by query-* in the past, and it's no problem if we don't expose default values via QMP until improving the C code to track default values in 1.6. For 1.5, let's just focus on exposing the information we have readily available. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2DQQTXSUSJCOXUSLURDSI 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJReS/6AAoJEKeha0olJ0NqveEH/1CmPQns139h74H64nAejXUw GCgKhRfjby+seBKMCrXXkSmtdymmB2c2CgYS+/RdZNBcj9OB+CLn69gJIAp2J7DH sE/BEXrVLHdYZjx0W0udljDAzJhQ6whAQmtbRiNIhjfoxUjWKmmenDE05t6Ciemc e/cSjXcRhP87hVVbMP7kyyzSonwwOOJycy+upm/c6EiUxpOTKyEMfaMYrYCJSitD btZlxNmbvTeTHxAzdtSt80wQP09lu17x3S7ZqskR9rUVBOEDb3QWk9nx7R/ZX2lo miSba1sTLl9jL8xwYcq2pF5Ip8VHSdj8hR+XQ6ekpNQPu147TgZWK5mUq1BlOng= =mKv3 -----END PGP SIGNATURE----- ------enig2DQQTXSUSJCOXUSLURDSI--