qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC 6/7] qmp: add 'cpu-del' command


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH RFC 6/7] qmp: add 'cpu-del' command
Date: Tue, 28 May 2013 20:33:26 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

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 <address@hidden>
> ---

> +++ 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

[Prev in Thread] Current Thread [Next in Thread]