qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: "Igor Mammedov" <imammedo@redhat.com>,
	"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [RFC][PATCH 0/6] i386: add cpu hot remove support
Date: Thu, 29 Aug 2013 10:09:39 +0800	[thread overview]
Message-ID: <cover.1377691274.git.chen.fan.fnst@cn.fujitsu.com> (raw)

via implementing ACPI standard methods _EJ0, after Guest OS hot remove
one vcpu, it is able to send a signal to QEMU, then QEMU could notify 
the assigned vcpu to exit.

this series patches must be used with seabios patch and KVM patch together.

for KVM patches:
 http://comments.gmane.org/gmane.comp.emulators.kvm.devel/114347

for seabios patches:
 http://comments.gmane.org/gmane.comp.emulators.qemu/230460

Chen Fan (6):
  piix4: implement function 'cpu_status_write' for vcpu ejection
  cpus: release allocated vcpu objects and exit vcpu thread
  qom cpu: rename variable 'cpu_added_notifier' to
    'cpu_hotplug_notifier'
  qmp: add 'cpu-del' command support
  qom cpu: add struct CPUNotifier for supporting PLUG and UNPLUG cpu
    notifier
  i386: implement cpu interface 'cpu_common_unrealizefn'

 cpus.c                  | 36 +++++++++++++++++++++++++++++
 hw/acpi/piix4.c         | 61 +++++++++++++++++++++++++++++++++++++++----------
 hw/i386/pc.c            | 24 ++++++++++++++++++-
 hw/i386/pc_piix.c       |  1 +
 include/hw/boards.h     |  2 ++
 include/hw/i386/pc.h    |  1 +
 include/qom/cpu.h       | 19 +++++++++++++++
 include/sysemu/kvm.h    |  1 +
 include/sysemu/sysemu.h |  2 +-
 kvm-all.c               | 26 +++++++++++++++++++++
 qapi-schema.json        | 12 ++++++++++
 qmp-commands.hx         | 23 +++++++++++++++++++
 qmp.c                   |  9 ++++++++
 qom/cpu.c               | 27 ++++++++++++++++++----
 14 files changed, 225 insertions(+), 19 deletions(-)

-- 
1.8.1.4

             reply	other threads:[~2013-08-29  2:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29  2:09 Chen Fan [this message]
2013-08-29  2:09 ` [Qemu-devel] [RFC][PATCH 1/6] piix4: implement function 'cpu_status_write' for vcpu ejection Chen Fan
2013-08-29  2:09 ` [Qemu-devel] [RFC][PATCH 2/6] cpus: release allocated vcpu objects and exit vcpu thread Chen Fan
2013-08-29  5:10   ` Andreas Färber
2013-08-29 10:08     ` chenfan
2013-08-29  2:09 ` [Qemu-devel] [RFC][PATCH 3/6] qom cpu: rename variable 'cpu_added_notifier' to 'cpu_hotplug_notifier' Chen Fan
2013-08-29  2:09 ` [Qemu-devel] [RFC][PATCH 4/6] qmp: add 'cpu-del' command support Chen Fan
2013-08-29 12:28   ` Eric Blake
2013-08-29  2:09 ` [Qemu-devel] [RFC][PATCH 5/6] qom cpu: add struct CPUNotifier for supporting PLUG and UNPLUG cpu notifier Chen Fan
2013-08-29  2:09 ` [Qemu-devel] [RFC][PATCH 6/6] i386: implement cpu interface 'cpu_common_unrealizefn' Chen Fan
2013-08-29  5:21   ` Andreas Färber

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=cover.1377691274.git.chen.fan.fnst@cn.fujitsu.com \
    --to=chen.fan.fnst@cn.fujitsu.com \
    --cc=afaerber@suse.de \
    --cc=imammedo@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).