[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/5] cpu/acpi: convert cpu hot plug to hotplug_h
From: |
Gu Zheng |
Subject: |
Re: [Qemu-devel] [PATCH 0/5] cpu/acpi: convert cpu hot plug to hotplug_handler API |
Date: |
Thu, 11 Sep 2014 10:53:57 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
Hi Igor,
Thanks very much for your review and suggestion.
On 09/10/2014 10:12 PM, Igor Mammedov wrote:
> On Wed, 3 Sep 2014 17:06:12 +0800
> Gu Zheng <address@hidden> wrote:
>
>>
>> Gu Zheng (5):
>> acpi/cpu: add cpu hotplug callback function to match hotplug_handler
>> API
>> acpi:ich9: convert cpu hotplug handle to hotplug_handler API
>> acpi:piix4: convert cpu hotplug handle to hotplug_handler API
>> pc: add cpu hotplug handler to PC_MACHINE
>> cpu/hotplug: remove the left unused cpu hotplug notifier function
>>
>> hw/acpi/cpu_hotplug.c | 18 ++++++++++++------
>> hw/acpi/ich9.c | 15 +++------------
>> hw/acpi/piix4.c | 16 +++-------------
>> hw/i386/pc.c | 26 +++++++++++++++++++++++++-
>> include/hw/acpi/cpu_hotplug.h | 6 ++++--
>> include/hw/acpi/ich9.h | 1 -
>> qom/cpu.c | 1 -
>> 7 files changed, 47 insertions(+), 36 deletions(-)
>>
>
> Looks like right direction that would allow to drop cpu_added_notifiers
> which is not able to pass/handle errors and switch to unified hotplug handler
> API which allows to pass errors and would allow to cancel device_add in case
> of
> error.
It seems the key value we can gain from above change, I'll follow your
suggestion.
>
> PS:
> Gu Zheng,
>
> Please grep for qemu_register_cpu_added_notifier(), you've missed to convert
> rtc usage of CPU notifier.
Thanks for your reminder.
>
> I'd prefer this to go in before you device_add/add cpu series.
OK, I'll work on this series first.
Best regards,
Gu
> .
>
- Re: [Qemu-devel] [PATCH 1/5] acpi/cpu: add cpu hotplug callback function to match hotplug_handler API, (continued)
- [Qemu-devel] [PATCH 2/5] acpi:ich9: convert cpu hotplug handle to hotplug_handler API, Gu Zheng, 2014/09/03
- [Qemu-devel] [PATCH 3/5] acpi:piix4: convert cpu hotplug handle to hotplug_handler API, Gu Zheng, 2014/09/03
- [Qemu-devel] [PATCH 4/5] pc: add cpu hotplug handler to PC_MACHINE, Gu Zheng, 2014/09/03
- [Qemu-devel] [PATCH 5/5] cpu/hotplug: remove the left unused cpu hotplug notifier function, Gu Zheng, 2014/09/03
- Re: [Qemu-devel] [PATCH 0/5] cpu/acpi: convert cpu hot plug to hotplug_handler API, Igor Mammedov, 2014/09/10
- Re: [Qemu-devel] [PATCH 0/5] cpu/acpi: convert cpu hot plug to hotplug_handler API,
Gu Zheng <=