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.
> 
> Signed-off-by: liguang <lig.f...@cn.fujitsu.com>
> ---

> +++ b/qapi-schema.json
> @@ -1403,6 +1403,19 @@
>  { 'command': 'cpu-add', 'data': {'id': 'int'} }
>  
>  ##
> +# @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'} }
> +

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to