From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGNqU-0003Xz-1O for qemu-devel@nongnu.org; Wed, 28 Jan 2015 03:19:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGNqQ-0003zc-Ra for qemu-devel@nongnu.org; Wed, 28 Jan 2015 03:19:29 -0500 Received: from [59.151.112.132] (port=30426 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGNqQ-0003uI-6e for qemu-devel@nongnu.org; Wed, 28 Jan 2015 03:19:26 -0500 Message-ID: <1422433090.4145.1.camel@G08FNSTD140041> From: Zhu Guihua Date: Wed, 28 Jan 2015 16:18:10 +0800 In-Reply-To: <20150128080045.GB16698@redhat.com> References: <20150128080045.GB16698@redhat.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/5] Common unplug and unplug request cb for memory and CPU hot-unplug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: hutao@cn.fujitsu.com, qemu-devel@nongnu.org, tangchen@cn.fujitsu.com, isimatu.yasuaki@jp.fujitsu.com, pbonzini@redhat.com, guz.fnst@cn.fujitsu.com, imammedo@redhat.com On Wed, 2015-01-28 at 10:00 +0200, Michael S. Tsirkin wrote: > On Wed, Jan 28, 2015 at 03:45:36PM +0800, Zhu Guihua wrote: > > Memory and CPU hot unplug are both asynchronous procedures. > > When the unplug operation happens, unplug request cb is called first. > > And when guest OS finished handling unplug, unplug cb will be called > > to do the real removal of device. > > > > They both need pc-machine, piix4 and ich9 unplug and unplug request cb. > > So this patchset introduces these commom functions as part1, and memory > > and CPU hot-unplug will come soon as part 2 and 3. > > > > This patch-set is based on QEmu 2.2 > > Really? Why not on master? Oh, it was just written wrong. Indeed, it is based on master. Regards, Zhu > > > v2: > > - Commit messages changes > > > > Tang Chen (5): > > acpi, pc: Add hotunplug request cb for pc machine. > > acpi, ich9: Add hotunplug request cb for ich9. > > acpi, pc: Add unplug cb for pc machine. > > acpi, ich9: Add unplug cb for ich9. > > acpi, piix4: Add unplug cb for piix4. > > > > hw/acpi/ich9.c | 14 ++++++++++++++ > > hw/acpi/piix4.c | 8 ++++++++ > > hw/i386/pc.c | 16 ++++++++++++++++ > > hw/isa/lpc_ich9.c | 14 ++++++++++++-- > > include/hw/acpi/ich9.h | 4 ++++ > > 5 files changed, 54 insertions(+), 2 deletions(-) > > > > -- > > 1.9.3