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: li guang
Subject: Re: [Qemu-devel] [PATCH RFC 6/7] qmp: add 'cpu-del' command
Date: Wed, 29 May 2013 10:43:08 +0800

在 2013-05-28二的 20:33 -0600,Eric Blake写道:
> 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/

OK, Thanks!

> 
> > +#
> > +# Returns: Nothing on success
> > +#
> > +# Since 1.6
> > +##
> > +{ 'command': 'cpu-del', 'data': {'id': 'int'} }
> > +
> 





reply via email to

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