From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTHVH-00064D-9S for qemu-devel@nongnu.org; Tue, 30 Oct 2012 15:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTHUp-0000NC-OQ for qemu-devel@nongnu.org; Tue, 30 Oct 2012 15:29:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTHUp-0000LJ-Fw for qemu-devel@nongnu.org; Tue, 30 Oct 2012 15:29:07 -0400 Message-ID: <50902A7C.5010208@redhat.com> Date: Tue, 30 Oct 2012 13:29:00 -0600 From: Eric Blake MIME-Version: 1.0 References: <1351590885-31252-1-git-send-email-lilei@linux.vnet.ibm.com> <1351590885-31252-4-git-send-email-lilei@linux.vnet.ibm.com> In-Reply-To: <1351590885-31252-4-git-send-email-lilei@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig037C24A83E91FCD48B140180" Subject: Re: [Qemu-devel] [PATCH 3/4] QAPI: Introduce memchar-read QMP command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lei Li Cc: blauwirbel@gmail.com, aliguori@us.ibm.com, qemu-devel@nongnu.org, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig037C24A83E91FCD48B140180 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/30/2012 03:54 AM, Lei Li wrote: > Signed-off-by: Lei Li > --- > +++ b/qapi-schema.json > @@ -346,7 +346,7 @@ > # > # @chardev: the name of the memory char device. > # > -# @size: the size to write in bytes. Should be power of 2. > +# @size: the size to write in bytes. > # > # @data: the source data write to memchar. > # Spurious deletion? > +SQMP > +memchar-read > +------------- > + > +Provide read interface for CirMemCharDriver. Read from the char > +device memory and return the data. > + > +Arguments: > + > +- "chardev": the name of the char device, must be unique (json-string)= > +- "size": the memory size wanted to read in bytes(refer to unencoded s/bytes(refer/bytes (refers/ --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig037C24A83E91FCD48B140180 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://www.enigmail.net/ iQEcBAEBCAAGBQJQkCp8AAoJEKeha0olJ0Nq0fEH/js9oRbtOCMjPxjSdt2d5iTC AuCw5iQl2qLlxGLJ8oGu8IDimwESy7+A8CdfH4SMY8PotxCCmEfi46Fd4k+VHpDn QR2Un/K+qqyqrZJ5tjYP0gZE2rj2KZZ7xiH54u+u7I+9psXOy/lhgWQEyWUNjVoB u6QJ5FtKg9BID8UvQCZA9ilurajQD1BoP6IiNHTXxE/6x9Pd0HvONvSEyd9vzecy sW01hlqJIATjHsVtlJemdK5R6PvV+tsVAEfkDsVc1NRlh2bR0EjSvQDnGfQWWQHP cVdPHKIospcMEQWHQmxUl59xdW1l/3Py+RCHr8RbKp1ylRWXEgk7ygtFI2QjTNo= =RtaF -----END PGP SIGNATURE----- --------------enig037C24A83E91FCD48B140180--