[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'} }
> > +
>
- [Qemu-devel] [PATCH RFC 0/7] pass cpu online/offline event bewteen QEMU and linux kernel by ACPI Embedded Controller, liguang, 2013/05/28
- [Qemu-devel] [PATCH RFC 7/7] pc: add EC qdev init for piix & q35, liguang, 2013/05/28
- [Qemu-devel] [PATCH RFC 2/7] ich9: add notifer for ec to generate sci, liguang, 2013/05/28
- [Qemu-devel] [PATCH RFC 5/7] piix4: add events for cpu hotplug, liguang, 2013/05/28
- [Qemu-devel] [PATCH RFC 6/7] qmp: add 'cpu-del' command, liguang, 2013/05/28
- [Qemu-devel] [PATCH RFC 3/7] ec: add operations for _Qxx events, liguang, 2013/05/28
- [Qemu-devel] [PATCH RFC 1/7] acpi: add ACPI Embedded Controller support, liguang, 2013/05/28
- [Qemu-devel] [PATCH RFC 4/7] piix4: add notifer for ec to generate sci, liguang, 2013/05/28
- Re: [Qemu-devel] [PATCH RFC 0/7] pass cpu online/offline event bewteen QEMU and linux kernel by ACPI Embedded Controller, Igor Mammedov, 2013/05/30