From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDGJh-0001DJ-8N for qemu-devel@nongnu.org; Mon, 19 Jan 2015 12:40:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDGJg-0001Bm-El for qemu-devel@nongnu.org; Mon, 19 Jan 2015 12:40:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDGJg-0001Bg-70 for qemu-devel@nongnu.org; Mon, 19 Jan 2015 12:40:44 -0500 Date: Mon, 19 Jan 2015 18:40:34 +0100 From: Igor Mammedov Message-ID: <20150119184034.3f38c49d@nial.brq.redhat.com> In-Reply-To: <1420613385-13679-1-git-send-email-tangchen@cn.fujitsu.com> References: <1420613385-13679-1-git-send-email-tangchen@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RESEND PATCH v1 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: Tang Chen Cc: zhugh.fnst@cn.fujitsu.com, mst@redhat.com, hutao@cn.fujitsu.com, qemu-devel@nongnu.org, isimatu.yasuaki@jp.fujitsu.com, guz.fnst@cn.fujitsu.com, pbonzini@redhat.com On Wed, 7 Jan 2015 14:49:40 +0800 Tang Chen wrote: > Memory and CPU hot unplug are both asynchronize procedures. > When the unplug operation happens, unplug request cb is called first. > And when ghest 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 patch set 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 Please add SoB to all patches and respin with fixed commit messages. I've tested it a bit, seem to work as expected. On respining, You can use my Reviewed-by: Igor Mammedov > > 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(-) >