qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gu Zheng <guz.fnst@cn.fujitsu.com>
To: Gu Zheng <guz.fnst@cn.fujitsu.com>
Cc: qemu-devel@nongnu.org, tangchen@cn.fujitsu.com,
	isimatu.yasuaki@jp.fujitsu.com, imammedo@redhat.com,
	anshul.makkar@profitbricks.com, afaerber@suse.de
Subject: Re: [Qemu-devel] [RFC PATCH 0/7] i386: add cpu hot remove support
Date: Tue, 22 Jul 2014 10:24:33 +0800	[thread overview]
Message-ID: <53CDCB61.2070302@cn.fujitsu.com> (raw)
In-Reply-To: <1405072795-14342-1-git-send-email-guz.fnst@cn.fujitsu.com>

Hi Igor, Andreas,

How about this patchset? Could you please help to review it?
Any comment is welcome.

Regards,
Gu
On 07/11/2014 05:59 PM, Gu Zheng wrote:

> Via implementing ACPI standard methods _EJ0 in ACPI table, after Guest OS remove
> one vCPU online, the fireware will store removed bitmap to QEMU, then QEMU could
> know to notify the assigned vCPU of exiting. meanwhile, intruduce the QOM command
> 'device_del' to remove vCPU from QEMU itself.
> 
> This job is based on Chen Fan's previous "cpu-del" patchset:
> https://lists.nongnu.org/archive/html/qemu-devel/2013-12/msg04266.html
> 
> And it depends on the previous "device_add foo-x86_64-cpu" patchset:
> https://lists.nongnu.org/archive/html/qemu-devel/2014-06/msg06690.html
> 
> Chen Fan (4):
>   x86: add x86_cpu_unrealizefn() for cpu apic remove
>   qom cpu: rename variable 'cpu_added_notifier' to
>     'cpu_hotplug_notifier'
>   i386: implement pc interface cpu_common_unrealizefn() in qom/cpu.c
>   cpu hotplug: implement function cpu_status_write() for vcpu ejection
> 
> Gu Zheng (3):
>   i386: add cpu device_del support
>   qom cpu: add UNPLUG cpu notify support
>   cpus: reclaim allocated vCPU objects
> 
>  cpus.c                            |   44 ++++++++++++++++++++++++
>  hw/acpi/cpu_hotplug.c             |   55 ++++++++++++++++++++++++++++---
>  hw/acpi/ich9.c                    |   13 ++++---
>  hw/acpi/piix4.c                   |   21 +++++++-----
>  hw/i386/acpi-dsdt-cpu-hotplug.dsl |    6 +++-
>  hw/i386/kvm/apic.c                |    8 ++++
>  hw/i386/pc.c                      |    2 +-
>  hw/intc/apic.c                    |   10 +++++
>  hw/intc/apic_common.c             |   23 ++++++++++++-
>  include/hw/acpi/cpu_hotplug.h     |   14 +++++++-
>  include/hw/acpi/ich9.h            |    2 +-
>  include/hw/cpu/icc_bus.h          |    1 +
>  include/hw/i386/apic_internal.h   |    1 +
>  include/qom/cpu.h                 |    9 +++++
>  include/sysemu/kvm.h              |    1 +
>  include/sysemu/sysemu.h           |    2 +-
>  kvm-all.c                         |   57 +++++++++++++++++++++++++++++++-
>  qom/cpu.c                         |   27 ++++++++++++---
>  target-i386/cpu-qom.h             |    1 +
>  target-i386/cpu.c                 |   66 +++++++++++++++++++++++++++++++++++++
>  20 files changed, 332 insertions(+), 31 deletions(-)
> 

      parent reply	other threads:[~2014-07-22  2:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11  9:59 [Qemu-devel] [RFC PATCH 0/7] i386: add cpu hot remove support Gu Zheng
2014-07-11  9:59 ` [Qemu-devel] [RFC PATCH 1/7] x86: add x86_cpu_unrealizefn() for cpu apic remove Gu Zheng
2014-07-11  9:59 ` [Qemu-devel] [RFC PATCH 2/7] i386: add cpu device_del support Gu Zheng
2014-07-11  9:59 ` [Qemu-devel] [RFC PATCH 3/7] qom cpu: rename variable 'cpu_added_notifier' to 'cpu_hotplug_notifier' Gu Zheng
2014-07-11  9:59 ` [Qemu-devel] [RFC PATCH 4/7] qom cpu: add UNPLUG cpu notify support Gu Zheng
2014-07-11  9:59 ` [Qemu-devel] [RFC PATCH 5/7] i386: implement pc interface cpu_common_unrealizefn() in qom/cpu.c Gu Zheng
2014-07-11  9:59 ` [Qemu-devel] [RFC PATCH 6/7] cpu hotplug: implement function cpu_status_write() for vcpu ejection Gu Zheng
2014-07-11  9:59 ` [Qemu-devel] [RFC PATCH 7/7] cpus: reclaim allocated vCPU objects Gu Zheng
2014-07-17 16:24   ` Anshul Makkar
2014-07-18  2:09     ` Gu Zheng
2014-07-30 14:31       ` Anshul Makkar
2014-08-01  4:42         ` Gu Zheng
2014-08-01 15:34           ` Anshul Makkar
2014-08-07  4:53             ` Gu Zheng
2014-07-15  1:16 ` [Qemu-devel] [RFC PATCH 0/7] i386: add cpu hot remove support Gu Zheng
2014-07-22  2:24 ` Gu Zheng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53CDCB61.2070302@cn.fujitsu.com \
    --to=guz.fnst@cn.fujitsu.com \
    --cc=afaerber@suse.de \
    --cc=anshul.makkar@profitbricks.com \
    --cc=imammedo@redhat.com \
    --cc=isimatu.yasuaki@jp.fujitsu.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tangchen@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).