在 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 <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/
OK, Thanks! > > > +# > > +# Returns: Nothing on success > > +# > > +# Since 1.6 > > +## > > +{ 'command': 'cpu-del', 'data': {'id': 'int'} } > > + >