From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhWCw-0001Q7-1W for qemu-devel@nongnu.org; Tue, 28 May 2013 22:33:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhWCq-0007rp-VL for qemu-devel@nongnu.org; Tue, 28 May 2013 22:33:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhWCq-0007rg-NA for qemu-devel@nongnu.org; Tue, 28 May 2013 22:33:40 -0400 Message-ID: <51A568F6.4080808@redhat.com> Date: Tue, 28 May 2013 20:33:26 -0600 From: Eric Blake MIME-Version: 1.0 References: <1369792062-14269-1-git-send-email-lig.fnst@cn.fujitsu.com> <1369792062-14269-7-git-send-email-lig.fnst@cn.fujitsu.com> In-Reply-To: <1369792062-14269-7-git-send-email-lig.fnst@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2DCXFTSXWSRVWNELVSXFD" Subject: Re: [Qemu-devel] [PATCH RFC 6/7] qmp: add 'cpu-del' command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: liguang Cc: Kevin Wolf , Alexander Graf , Anthony Liguori , Juan Quintela , Stefan Berger , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Christian Borntraeger , Markus Armbruster , Joel Schopp , Gerd Hoffmann , Igor Mammedov , Paolo Bonzini , Luiz Capitulino , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Isaku Yamahata This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2DCXFTSXWSRVWNELVSXFD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/28/2013 07:47 PM, liguang wrote: > add 'cpu-del' as complementary of 'cpu-add', > cpu-del doesn't really delete a previous created > cpu for it depends on CPU-QOM which it's un-finished > yet to unrealize it. > cpu-del just records the cpu-id that guest want to > remove to keep status of ACPI cpu hot-remove process. >=20 > Signed-off-by: liguang > --- > +++ b/qapi-schema.json > @@ -1403,6 +1403,19 @@ > { 'command': 'cpu-add', 'data': {'id': 'int'} } > =20 > ## > +# @cpu-del > +# > +# Deletes CPU with specified ID > +# > +# @id: ID of CPU to be created, valid values [0..max_cpus) s/created/unplugged/ > +# > +# Returns: Nothing on success > +# > +# Since 1.6 > +## > +{ 'command': 'cpu-del', 'data': {'id': 'int'} } > + --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2DCXFTSXWSRVWNELVSXFD 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRpWj2AAoJEKeha0olJ0NqS90H/3u/WD/kt0NTFAZAPpfc5+Un 9KolnYxwkxC30kqVhFt9uHpel5z/CRpTApyRGUbdESvIhKQQ6IrMv7YKIr4aULge jvvF/Ey3P89xU2ETsxUv58hMFJVXW/FjtIb7sQpIZGl1JEOW1bQGmGt9uNXyYt4E i5ekf1GQZU1pbmKcw3avzcd7eNMt9VDzMJeC14Yh2OO3Vfxnty3iFLocskMR9NV7 sMoypkXntODlwMLjS/2GjvmxvfXrc/L11MSPW6HpnZmVGa4OGJUtNutsVBC7wDYe oZI4iLI9erZSu8P4VB8t8qA9vfKXqlTvWzZZPhUKBAYYEWGPlmpJKPoV8tDmXos= =hvmG -----END PGP SIGNATURE----- ------enig2DCXFTSXWSRVWNELVSXFD--