qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC][PATCH 0/6] i386: add cpu hot remove support
@ 2013-08-29  2:09 Chen Fan
  2013-08-29  2:09 ` [Qemu-devel] [RFC][PATCH 1/6] piix4: implement function 'cpu_status_write' for vcpu ejection Chen Fan
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Chen Fan @ 2013-08-29  2:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Igor Mammedov, Andreas Färber

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-08-29 12:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29  2:09 [Qemu-devel] [RFC][PATCH 0/6] i386: add cpu hot remove support Chen Fan
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

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).