All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC qom-cpu v2 0/8] i386: add cpu hot remove support
@ 2013-09-10  9:43 Chen Fan
  2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 1/8] apic: remove apic_no from apic_init_common() Chen Fan
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Chen Fan @ 2013-09-10  9:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: Igor Mammedov, Andreas Färber

Via implementing ACPI standard methods _EJ0 in bios, after Guest OS hot remove
one vCPU, it is able to send a signal to QEMU, then QEMU could notify
the assigned vCPU of exiting.

this work is based on Andreas Färber's qom-cpu branch tree.
    git://github.com/afaerber/qemu-cpu.git

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 (8):
  apic: remove apic_no from apic_init_common()
  x86: add x86_cpu_unrealizefn() for cpu apic remove
  qmp: add 'cpu-del' command support
  qom cpu: rename variable 'cpu_added_notifier' to
    'cpu_hotplug_notifier'
  qom cpu: add UNPLUG cpu notifier support
  i386: implement pc interface pc_hot_del_cpu()
  piix4: implement function cpu_status_write() for vcpu ejection
  cpus: release allocated vCPU objects

 cpus.c                          | 46 ++++++++++++++++++++++++++++
 hw/acpi/piix4.c                 | 66 +++++++++++++++++++++++++++++++++--------
 hw/cpu/icc_bus.c                | 11 +++++++
 hw/i386/kvm/apic.c              |  6 ++++
 hw/i386/pc.c                    | 34 ++++++++++++++++++++-
 hw/i386/pc_piix.c               |  1 +
 hw/intc/apic.c                  |  7 +++++
 hw/intc/apic_common.c           | 15 ++++++++--
 include/hw/boards.h             |  2 ++
 include/hw/cpu/icc_bus.h        |  1 +
 include/hw/i386/apic_internal.h |  1 +
 include/hw/i386/pc.h            |  1 +
 include/qom/cpu.h               | 20 +++++++++++++
 include/sysemu/kvm.h            |  1 +
 include/sysemu/sysemu.h         |  2 +-
 kvm-all.c                       | 25 ++++++++++++++++
 qapi-schema.json                | 12 ++++++++
 qmp-commands.hx                 | 23 ++++++++++++++
 qmp.c                           |  9 ++++++
 qom/cpu.c                       | 25 ++++++++++++----
 target-i386/cpu-qom.h           |  1 +
 target-i386/cpu.c               | 36 ++++++++++++++++++++++
 22 files changed, 323 insertions(+), 22 deletions(-)

-- 
1.8.1.4


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

end of thread, other threads:[~2013-09-11  5:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10  9:43 [Qemu-devel] [RFC qom-cpu v2 0/8] i386: add cpu hot remove support Chen Fan
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 1/8] apic: remove apic_no from apic_init_common() Chen Fan
2013-09-10 12:09   ` Igor Mammedov
2013-09-10 12:16     ` Andreas Färber
2013-09-11  5:37       ` chenfan
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 2/8] x86: add x86_cpu_unrealizefn() for cpu apic remove Chen Fan
2013-09-10 12:26   ` Andreas Färber
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 3/8] qmp: add 'cpu-del' command support Chen Fan
2013-09-10 15:52   ` Eric Blake
2013-09-11  2:32     ` chenfan
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 4/8] qom cpu: rename variable 'cpu_added_notifier' to 'cpu_hotplug_notifier' Chen Fan
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 5/8] qom cpu: add UNPLUG cpu notifier support Chen Fan
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 6/8] i386: implement pc interface pc_hot_del_cpu() Chen Fan
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 7/8] piix4: implement function cpu_status_write() for vcpu ejection Chen Fan
2013-09-10  9:43 ` [Qemu-devel] [RFC qom-cpu v2 8/8] cpus: release allocated vCPU objects Chen Fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.