From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRNSF-0001sg-GZ for qemu-devel@nongnu.org; Wed, 02 Oct 2013 10:31:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRNS6-0001OV-KD for qemu-devel@nongnu.org; Wed, 02 Oct 2013 10:31:07 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:55574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRNS6-0001O3-Bn for qemu-devel@nongnu.org; Wed, 02 Oct 2013 10:30:58 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 2 Oct 2013 15:30:54 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7A0BB17D8066 for ; Wed, 2 Oct 2013 15:31:09 +0100 (BST) Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r92EUdff59834412 for ; Wed, 2 Oct 2013 14:30:39 GMT Received: from d06av10.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r92EUpIh017742 for ; Wed, 2 Oct 2013 08:30:51 -0600 Date: Wed, 2 Oct 2013 16:30:23 +0200 From: Michael Mueller Message-ID: <20131002163023.58ef8f16@bee> In-Reply-To: <524C0C48.2070704@redhat.com> References: <1380713622-22325-1-git-send-email-mimu@linux.vnet.ibm.com> <1380713622-22325-11-git-send-email-mimu@linux.vnet.ibm.com> <524C0C48.2070704@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/bSjHCMgtuZDr_==.dsMSiNe"; protocol="application/pgp-signature" Subject: Re: [Qemu-devel] [PATCH RFC 10/11] s390/qemu: cpu model QMP query-cpu-model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org --Sig_/bSjHCMgtuZDr_==.dsMSiNe Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 02 Oct 2013 06:06:32 -0600 Eric Blake wrote: > On 10/02/2013 05:33 AM, Michael Mueller wrote: > > This patch implements a new QMP request named "cpu-model". It returns > > the cpu model of cpu 0. eg: > >=20 > > request: '{"execute" : "query-cpu-model" } > > answer: '{"return" : "2817-ga1" } > >=20 > > Alias names are resolved to their respactive machine type and GA names > > already during cpu instantiation. Thus, also a cpu name like "host", > > which is iplemented as alias, will return its normalized cpu model name. > >=20 > > Signed-off-by: Michael Mueller > > --- >=20 > > +++ b/qapi-schema.json > > @@ -3129,6 +3129,29 @@ > > ## > > { 'command': 'query-cpu-definitions', 'returns': ['CpuDefinitionInfo']= } > > =20 > > +## > > +# @CpuModelInfo: > > +# > > +# Virtual CPU model definition. > > +# > > +# @name: the name of the CPU model definition > > +# > > +# Since: 1.x.0 >=20 > s/x/7/ - you are targetting 1.7.0 after all. welcome >=20 > > +## > > +{ 'type': 'CpuModelInfo', > > + 'data': { 'name': 'str' } } > > + > > +## > > +# @query-cpu-model: > > +# > > +# Return to current virtual CPU model > > +# > > +# Returns: CpuModelInfo > > +# > > +# Since: 1.2.0 >=20 > s/2/7/ yep >=20 --Sig_/bSjHCMgtuZDr_==.dsMSiNe Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJSTC3/AAoJELPcPLQSJsKQknkQAIubTSSQe9E0MCim+E/1dTw/ YwwKtwk7up4ekMk+xCVxOTNKtrP6SLXKD8bRgpc7PZv5+EnXqijzg5Xnb3jrySTa n8yS4DMwOLXxntVfIqgQgEvYuyInHWAkBpu2KCPen8dP7DRqao67nlOS7AZTI7jJ RVwoL60/QYN5HmMO7hlHfmyfs2OCDrF0RVTYmSmqhLisTCojFU3Pp1BK3zGaNIJf oENF1vK1OsNpDn+70uV8mydNljANNU7AEWD0zNSEtbXG0Oy0JZiiNJB6jeba8R0o UVdF6ZZcOgrFzkY8SEda2dN4732yVUlaKb0Pg03oLlsN0YBIK+AedlucIZwNh7Qu vqoUPYTG+I5YYP9/WEetUwkj46qhmcUJ0zalCappoi/sOzC/KVOkqsuaNbhz5aWc HuxzgbEhNhbKDTy5wDtTYpVlXBwB7OaFwD0ts0dPfkJk82zp9tFYJC50qIr9GVZj jwcoBYpQh2wTHQof7Kw6UnMjGTGT5bOXkQHSshqrFwzhHpq0X0m+cJSlkmlPKqRV Djh11brHXzkwbvcPySJwjXHGcNMt5MoUNVFdUp816MliHboAqLp23W2muNH1yPcf SU5DA8Ox7xbJZEL1tythJOI715njJtTd7s/ozjW5SzcQb6IqXlSIEcpteiwoZNPd cJ8sPByd/GWsYvyznWai =N/bW -----END PGP SIGNATURE----- --Sig_/bSjHCMgtuZDr_==.dsMSiNe--