Received: from eggs.gnu.org ([2001:4830:134:3::10]:35708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c75Ey-0005Py-Oi for qemu-devel@nongnu.org; Wed, 16 Nov 2016 13:47:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c75Ex-0001QM-W4 for qemu-devel@nongnu.org; Wed, 16 Nov 2016 13:47:24 -0500 References: <1479320499-29818-1-git-send-email-ehabkost@redhat.com> From: Eric Blake Message-ID: Date: Wed, 16 Nov 2016 12:47:14 -0600 MIME-Version: 1.0 In-Reply-To: <1479320499-29818-1-git-send-email-ehabkost@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dC2kSxk81d5puIFMmMLhfpNuF2xtgNs4M" Subject: Re: [Qemu-devel] [PATCH for-2.9] qmp: Report QOM type name on query-cpu-definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , qemu-devel@nongnu.org, Markus Armbruster Cc: David Gibson , Paolo Bonzini , "Daniel P. Berrange" , Jiri Denemark , Peter Maydell , Richard Henderson , Alexander Graf , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, libvir-list@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dC2kSxk81d5puIFMmMLhfpNuF2xtgNs4M From: Eric Blake To: Eduardo Habkost , qemu-devel@nongnu.org, Markus Armbruster Cc: David Gibson , Paolo Bonzini , "Daniel P. Berrange" , Jiri Denemark , Peter Maydell , Richard Henderson , Alexander Graf , qemu-arm@nongnu.org, qemu-ppc@nongnu.org, libvir-list@redhat.com Message-ID: Subject: Re: [PATCH for-2.9] qmp: Report QOM type name on query-cpu-definitions References: <1479320499-29818-1-git-send-email-ehabkost@redhat.com> In-Reply-To: <1479320499-29818-1-git-send-email-ehabkost@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/16/2016 12:21 PM, Eduardo Habkost wrote: > The new typename attribute on query-cpu-definitions will be used > to help management software use device-list-properties to check > which properties can be set using -cpu or -global for the CPU > model. >=20 > Signed-off-by: Eduardo Habkost > --- > qapi-schema.json | 4 +++- > target-arm/helper.c | 1 + > target-i386/cpu.c | 1 + > target-ppc/translate_init.c | 1 + > target-s390x/cpu_models.c | 1 + > 5 files changed, 7 insertions(+), 1 deletion(-) >=20 > diff --git a/qapi-schema.json b/qapi-schema.json > index b0b4bf6..9a3bdd4 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -3216,6 +3216,8 @@ > # @unavailable-features: #optional List of properties that prevent > # the CPU model from running in the current > # host. (since 2.8) > +# @typename: Type name that can be used as argument to @device-list-pr= operties, > +# to introspect properties configurable using -cpu or -glob= al. Missing a '(since 2.9)' designation. > # > # @unavailable-features is a list of QOM property names that > # represent CPU model attributes that prevent the CPU from running. > @@ -3237,7 +3239,7 @@ > ## > { 'struct': 'CpuDefinitionInfo', > 'data': { 'name': 'str', '*migration-safe': 'bool', 'static': 'bool'= , > - '*unavailable-features': [ 'str' ] } } > + '*unavailable-features': [ 'str' ], 'typename': 'str' } } > =20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --dC2kSxk81d5puIFMmMLhfpNuF2xtgNs4M 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/ iQEcBAEBCAAGBQJYLKmyAAoJEKeha0olJ0Nq6yoH/20Cj0MlsusBjO7jEGQPoJ1K ovDJOMjBycWJ7cJcGK/BGWDCMksFTgdHo/qQIXIFSwcUNuOy+jgyGBuB2j4r9wTm PY3P94h7AUwVjNpKUmQqBTiIQf/nRPHx8ID55ozyQuEQSX9m7DjdqWJrcmkieE7v YmT2EKeyqHvI3tGu2tGBD5rdYs6lXm70+4B2CXCzURxO0Hx80zdBzZBlXr2FfHIp XWwz++CDvRFWvJpb9iAmTYxFMLmMG8TOqLQVJ926NTjU77c7D4x8b7LjEJ7DsPX3 Djwh71+5dL9smLiUnsqal+7seetFmna/xGNVmqOK/HcYQaoHSz6Ts5oA9t0a19c= =TYtG -----END PGP SIGNATURE----- --dC2kSxk81d5puIFMmMLhfpNuF2xtgNs4M--