From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaO6r-0000YF-DI for qemu-devel@nongnu.org; Fri, 11 Sep 2015 09:11:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaO6m-00022w-RF for qemu-devel@nongnu.org; Fri, 11 Sep 2015 09:11:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaO6m-00022o-Lx for qemu-devel@nongnu.org; Fri, 11 Sep 2015 09:11:16 -0400 References: <1441975830-11828-1-git-send-email-victor.clement@openwide.fr> <1441975830-11828-4-git-send-email-victor.clement@openwide.fr> From: Eric Blake Message-ID: <55F2D2F2.1090002@redhat.com> Date: Fri, 11 Sep 2015 07:11:14 -0600 MIME-Version: 1.0 In-Reply-To: <1441975830-11828-4-git-send-email-victor.clement@openwide.fr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oKefpgUeSLg6cCfexoE2VU2OBmV9vtexk" Subject: Re: [Qemu-devel] [PATCH 3/7] chardev: add a scenario engine backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Victor CLEMENT , qemu-devel@nongnu.org Cc: victor.clement@outlook.com, julien.viarddegalbert@openwide.fr This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oKefpgUeSLg6cCfexoE2VU2OBmV9vtexk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/11/2015 06:50 AM, Victor CLEMENT wrote: > This scenario backend implements the scenario interaction API for all > character device emulators. > It provides a callback registration function which registers a chr_writ= e > callback. It will call the user defined callback on incoming data. > To write to this character device, qemu_chr_be_write can be used. >=20 > Signed-off-by: Victor CLEMENT > --- > +++ b/qapi-schema.json > @@ -3042,7 +3042,8 @@ > 'vc' : 'ChardevVC', > 'ringbuf': 'ChardevRingbuf', > # next one is just for compatib= ility > - 'memory' : 'ChardevRingbuf' } }= > + 'memory' : 'ChardevRingbuf', > + 'scenario': 'ChardevDummy' } } Missing documentation of the new union branch, including mention that it was added in 2.5. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --oKefpgUeSLg6cCfexoE2VU2OBmV9vtexk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJV8tLyAAoJEKeha0olJ0NqKgcH/04W6qPPg+rCfEb1P7COTuYW EFfeQWlLI+g684rQbRMGaoJAYU4woNaDh3IL1GYSQ9gdMUr6CfqHJvB9m4dP2Fif b/MBnVhuxmMpbMIPYimQ0ScAOmWvxqKd16HauRTPrb8vA4UUKC9pbW1WHtQWooyS lmc9rFtS12llmMyPkZ3bhJeSn+QYm4sw/JWzUppJRWIFVsiZhtscDG2kjuFxKxfC ur9YpLY7rc7KSCgJi4bR91Z9t/rwjDBpSijWwWQCAUsGdSaQfz6t3u286V/GinV5 3aSXvj7jPgzf4yvGA4yLFi/i/i1zOE4Jot7qMlBRaK+r/Tq76bTDGdbeFQYQGQo= =6NeH -----END PGP SIGNATURE----- --oKefpgUeSLg6cCfexoE2VU2OBmV9vtexk--