From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9vse-0007ek-7x for qemu-devel@nongnu.org; Tue, 30 Jun 2015 09:47:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9vsZ-0001Y7-51 for qemu-devel@nongnu.org; Tue, 30 Jun 2015 09:47:20 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:34594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9vsY-0001U4-SL for qemu-devel@nongnu.org; Tue, 30 Jun 2015 09:47:15 -0400 Received: by wgqq4 with SMTP id q4so10276414wgq.1 for ; Tue, 30 Jun 2015 06:47:12 -0700 (PDT) Date: Tue, 30 Jun 2015 15:47:07 +0200 From: Eduardo Otubo Message-ID: <20150630134707.GA19986@vader> References: <20150624132858.GA30955@vader> <558CC907.2020208@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <558CC907.2020208@cn.fujitsu.com> Subject: Re: [Qemu-devel] [PATCH v3 0/7] cpu: add i386 cpu hot remove support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhu Guihua Cc: qemu-devel@nongnu.org, tangchen@cn.fujitsu.com, chen.fan.fnst@cn.fujitsu.com, isimatu.yasuaki@jp.fujitsu.com, cihand@skyatlas.com, imammedo@redhat.com, guz.fnst@cn.fujitsu.com, anshul.makkar@profitbricks.com, afaerber@suse.de --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 26, 2015 at 11=3D37=3D43AM +0800, Zhu Guihua wrote: > Hi, > On 06/24/2015 09:28 PM, Eduardo Otubo wrote: > >Hello Zhu, > > > >Are you still working on this feature? Could you provide a rebased > >version of this series? >=20 > Sorry for late reply. >=20 > Yes, we are still working on this feature. >=20 > I have updated my github, you can get the rebased version from it. >=20 > https://github.com/zhuguihua/qemu.git cpu-hotplug I'll review and test. I'll also provide my comments on the github as well. Thanks for the update, Zhu! :) Regards, >=20 > Thanks, > Zhu >=20 > >Regards, > > > >On Fri, Feb 13, 2015 at 06=3D40=3D15PM +0800, Zhu Guihua wrote: > >>This series is based on chen fan's previous i386 cpu hot remove patchse= t: > >>https://lists.nongnu.org/archive/html/qemu-devel/2013-12/msg04266.html > >> > >>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. > >> > >>The whole work is based on the new hot plug/unplug framework, ,the unpl= ug request > >>callback does the pre-check and send the request, unplug callback does = the > >>removal handling. > >> > >>This series depends on tangchen's common hot plug/unplug enhance patchs= et. > >>[PATCH v2 0/5] Common unplug and unplug request cb for memory and CPU h= ot-unplug > >>https://lists.nongnu.org/archive/html/qemu-devel/2015-01/msg03929.html > >> > >>The is the second half of the previous series: > >>[RFC V2 00/10] cpu: add device_add foo-x86_64-cpu and i386 cpu hot remo= ve support > >>https://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg04779.html > >> > >>If you want to test the series, you need to apply the 'device_add foo-x= 86_64-cpu' > >>patchset first: > >>[PATCH v4 00/10] cpu: add device_add foo-x86_64-cpu support > >>https://lists.nongnu.org/archive/html/qemu-devel/2015-02/msg02584.html > >> > >>--- > >>Changelog since v2: > >> -drop ICC bus impl > >> -fix delete cpu exceed 32 issue > >> -fix bug about deleting the last cpu > >> > >>Changelog since v1: > >> -rebase on the latest version. > >> -delete patch i386/cpu: add instance finalize callback, and put it in= to patchset > >> [PATCH v3 0/6] cpu: add device_add foo-x86_64-cpu support. > >> > >>Changelog since RFC: > >> -splited the i386 cpu hot remove into single thread. > >> -replaced apic_no with apic_id, so does the related stuff to make it > >> work with arbitrary CPU hotadd. > >> -add the icc_device_unrealize callback to handle apic unrealize. > >> -rework on the new hot plug/unplug platform. > >>--- > >> > >>Chen Fan (2): > >> x86: add x86_cpu_unrealizefn() for cpu apic remove > >> cpu hotplug: implement function cpu_status_write() for vcpu ejection > >> > >>Gu Zheng (3): > >> acpi/cpu: add cpu hot unplug request callback function > >> acpi, pc: add cpu hot unplug callback support > >> cpus: reclaim allocated vCPU objects > >> > >>Zhu Guihua (2): > >> acpi, pc: add cpu hot unplug request callback support > >> acpi/cpu: add cpu hot unplug callback function > >> > >> cpus.c | 44 ++++++++++++++++++++ > >> hw/acpi/cpu_hotplug.c | 87 ++++++++++++++++++++++++++++++= ++++++--- > >> hw/acpi/ich9.c | 17 ++++++-- > >> hw/acpi/piix4.c | 12 +++++- > >> hw/core/qdev.c | 2 +- > >> hw/i386/acpi-dsdt-cpu-hotplug.dsl | 16 ++++++- > >> hw/i386/kvm/apic.c | 5 +++ > >> hw/i386/pc.c | 68 ++++++++++++++++++++++++++++-- > >> hw/intc/apic.c | 9 ++++ > >> hw/intc/apic_common.c | 21 ++++++---- > >> include/hw/acpi/cpu_hotplug.h | 8 ++++ > >> include/hw/i386/apic_internal.h | 1 + > >> include/hw/qdev-core.h | 1 + > >> include/qom/cpu.h | 9 ++++ > >> include/sysemu/kvm.h | 1 + > >> kvm-all.c | 57 ++++++++++++++++++++++++- > >> target-i386/cpu.c | 46 +++++++++++++++++++++ > >> 17 files changed, 377 insertions(+), 27 deletions(-) > >> > >>--=20 > >>1.9.3 > >> > >> >=20 >=20 --=20 Eduardo Otubo ProfitBricks GmbH --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVkp3bAAoJEP0M/1sS+L0v/hoIALWoKBUqKnSWaYEUK54C6Qcp SldlYcQ4BIZlYW0t3bcJOxLuHe6LSvPPTUR6Dya/YQH70D2FGyJi3BGEZznRjKn7 m0XREzU2aGjFuk6jhWDCmKzXueyawFy7iWQk2vhNL4glQaMCy6cPnzTZwGE1NOSn JOUnF6ygeDmgNbi2tNo3X5e7i5UUe8M18fVBwcyqJoAXsHmeOfbHNhpKPkPmYJ8P lDVFBMw2nj+Akgt0USq77xEHfUWSLHp4JBFN/Zq03plge+p67V/W+vIAMXz9pDwV mYcb7KJHBU/oNnXXVaDiDtVzn8ul2NHeXX/A3fSePLiY87kTDx/GMbd13+erKVg= =fGed -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--