From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2gZc-0004Pg-Sq for qemu-devel@nongnu.org; Fri, 26 Jul 2013 07:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2gZb-00026a-TL for qemu-devel@nongnu.org; Fri, 26 Jul 2013 07:52:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2gZb-00025e-KM for qemu-devel@nongnu.org; Fri, 26 Jul 2013 07:52:39 -0400 Message-ID: <51F26304.2090408@redhat.com> Date: Fri, 26 Jul 2013 05:52:36 -0600 From: Eric Blake MIME-Version: 1.0 References: <1373971062-28909-1-git-send-email-akong@redhat.com> <1373971062-28909-3-git-send-email-akong@redhat.com> <51E9B81C.2090105@redhat.com> <20130726075122.GE9320@amosk.info> In-Reply-To: <20130726075122.GE9320@amosk.info> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="s4Ah9iSncX7vHDc6T6UiTBqTXlivx5xfG" Subject: Re: [Qemu-devel] [PATCH v2 2/2] full introspection support for QMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: "kwolf@redhat.com" , aliguori@us.ibm.com, armbru@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, pbonzini@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --s4Ah9iSncX7vHDc6T6UiTBqTXlivx5xfG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/26/2013 01:51 AM, Amos Kong wrote: >>> +# Query QMP schema information >>> +# >>> +# Returns: list of @SchemaEntry. Returns an error if json string is = invalid. >> >> If you don't take any arguments, then the "returns an error" statement= >> is impossible. >=20 > When we execute the full introspecting, we will parse the json strings > in the head file (converted from .json file). Return error if the > json string is invild in head file. We should fail to compile if the conversion from .json to head file is not correct. No working qemu binary should ever encounter an invalid head file. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --s4Ah9iSncX7vHDc6T6UiTBqTXlivx5xfG 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/ iQEcBAEBCAAGBQJR8mMEAAoJEKeha0olJ0NqA8MH/30QMuveQ27XgRWOLxsJ5NTi c7xBflatiGia4iUthr6N0mjIIbbToUQag+5VRFcITZ5ElfSk/K8ERitYC3o92Z9M N+vwxvjfk48aUXwIsk/3VtgGMnUhlmCZEsEsp19JtlDvaDeiN9FjsLvGq1JGA1z3 eM1KMnZuLpfBkw3WK6Y2twQU8wmGPsSXE1XVptslxGFL3o3umz/iPTIP6m8fSytC zRm8JposeJf0KfzfpdM9xIDUh6NOfP210+Wxx+toWPu3u7xLI0IrhvGpxvNSPgbM FOGhAbkxLvgnAplga+UG4l9Ibg8jYbok+/QuBVh3yjov2SRXekPmf0xbkmBzNac= =5Ew5 -----END PGP SIGNATURE----- --s4Ah9iSncX7vHDc6T6UiTBqTXlivx5xfG--