From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGBoY-0006uT-BS for qemu-devel@nongnu.org; Thu, 23 Jun 2016 17:05:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGBoT-0007mJ-8c for qemu-devel@nongnu.org; Thu, 23 Jun 2016 17:05:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGBoS-0007mC-VA for qemu-devel@nongnu.org; Thu, 23 Jun 2016 17:05:25 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 53B25711D9 for ; Thu, 23 Jun 2016 21:05:24 +0000 (UTC) References: <6a52d9a67cc72abb874c9906df039d11bfe1e18d.1466713052.git.pkrempa@redhat.com> From: Eric Blake Message-ID: <576C4F13.2010603@redhat.com> Date: Thu, 23 Jun 2016 15:05:23 -0600 MIME-Version: 1.0 In-Reply-To: <6a52d9a67cc72abb874c9906df039d11bfe1e18d.1466713052.git.pkrempa@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nUiIHOcErOh3spTrt6jvhFn6xUTGl1J15" Subject: Re: [Qemu-devel] [PATCH 1/3] qapi: Report support for -device cpu hotplug in query-machines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Krempa , qemu-devel@nongnu.org Cc: Igor Mammedov , David Gibson This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nUiIHOcErOh3spTrt6jvhFn6xUTGl1J15 From: Eric Blake To: Peter Krempa , qemu-devel@nongnu.org Cc: Igor Mammedov , David Gibson Message-ID: <576C4F13.2010603@redhat.com> Subject: Re: [Qemu-devel] [PATCH 1/3] qapi: Report support for -device cpu hotplug in query-machines References: <6a52d9a67cc72abb874c9906df039d11bfe1e18d.1466713052.git.pkrempa@redhat.com> In-Reply-To: <6a52d9a67cc72abb874c9906df039d11bfe1e18d.1466713052.git.pkrempa@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/23/2016 02:23 PM, Peter Krempa wrote: > For management apps it's very useful to know whether the selected > machine type supports cpu hotplug via the new -device approach. Using > the presence of 'query-hotpluggable-cpus' is enough for a withess. s/is enough/alone is not enough/ ? s/withess/witness/ >=20 > Add a property to 'MachineInfo' called 'hotpluggable-cpus' that will > report the presence of this feature. >=20 > Example of output: > { > "hotpluggable-cpus": false, > "name": "mac99", > "cpu-max": 1 > }, > { > "hotpluggable-cpus": true, > "name": "pseries-2.7", > "is-default": true, > "cpu-max": 255, > "alias": "pseries" > }, >=20 > Signed-off-by: Peter Krempa > --- > qapi-schema.json | 5 ++++- > vl.c | 1 + > 2 files changed, 5 insertions(+), 1 deletion(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --nUiIHOcErOh3spTrt6jvhFn6xUTGl1J15 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/ iQEcBAEBCAAGBQJXbE8TAAoJEKeha0olJ0NqPCsH/1XfkOaO0aTMQ9KQdsKMZnip tVpxdelQ2m5lTiIJEQXsaUOmBVx1g2Nuwd2+4H6Q3pODREDmNsdORWeL9lEm9oS/ aKqxxjNH5lJY4/JXWRnFEznUXvu9RVSfP+6yk/WLvidHyBVAYNNC5BJoM+3jf9ZB 6U3FBfpXEB4rRHDrJzL2lecQJtZ040X8AJhYMjfxgwkLELo6MVY+ZW1eri8di1rq kNpZ6BHQMB0R2cQ4rTpPkJb9nmHDfkeyoMRetusIic5WfESOwHtaRDuIah0/nZWO 0CNPY6yZtyf8VPEpdxCYjPu/JgIz6w8ESt3+0DNbO6hb13xIOsiWKFpymANvTnM= =VHGt -----END PGP SIGNATURE----- --nUiIHOcErOh3spTrt6jvhFn6xUTGl1J15--