From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEri7-00030A-C5 for qemu-devel@nongnu.org; Wed, 28 Aug 2013 22:11:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VErhy-00048A-Vy for qemu-devel@nongnu.org; Wed, 28 Aug 2013 22:11:47 -0400 Received: from [222.73.24.84] (port=23838 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VErhy-00047F-GU for qemu-devel@nongnu.org; Wed, 28 Aug 2013 22:11:38 -0400 From: Chen Fan Date: Thu, 29 Aug 2013 10:09:39 +0800 Message-Id: Subject: [Qemu-devel] [RFC][PATCH 0/6] i386: add cpu hot remove support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= 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