Received: from eggs.gnu.org ([2001:4830:134:3::10]:49807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdEEF-0007wj-Qh for qemu-devel@nongnu.org; Wed, 01 Apr 2015 04:42:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdEEB-0004Pd-NZ for qemu-devel@nongnu.org; Wed, 01 Apr 2015 04:42:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdEEB-0004PS-If for qemu-devel@nongnu.org; Wed, 01 Apr 2015 04:42:23 -0400 Date: Wed, 1 Apr 2015 10:42:19 +0200 From: Igor Mammedov Message-ID: <20150401104219.566d37c9@nial.brq.redhat.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 0/7] QEMU memory hot unplug support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhu Guihua Cc: guz.fnst@cn.fujitsu.com, pbonzini@redhat.com, tangchen@cn.fujitsu.com, qemu-devel@nongnu.org, izumi.taku@jp.fujitsu.com On Fri, 27 Mar 2015 17:20:33 +0800 Zhu Guihua wrote: > Memory 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. I think series is in good shape and ready for merging after comments are fixed. > > v5: > -reorganize the patchset > -add documentation to understand patch easily > -add MEMORY_SLOT_EJECT for initiating device eject > -add support to send qmp event to notify mgmt about memory unplug error > > v4: > -reorganize the patchset > -drop the new API acpi_send_gpe_event() > -update ssdt-mem > > v3: > -commit message changes > -reorganize the patchset, squash and separate some patches > -update specs about acpi_mem_hotplug > -first cleanup external state, then un-map and un-register memory device > > v2: > -do a generic for acpi to send gpe event > -unparent object by PC_MACHINE > -update description in acpi_mem_hotplug.txt > -combine the last two patches in the last version > -cleanup external state in acpi_memory_unplug_cb > > Tang Chen (3): > acpi, mem-hotplug: add acpi_memory_slot_status() to get MemStatus > acpi, mem-hotplug: add unplug request cb for memory device > acpi, mem-hotplug: add unplug cb for memory device > > Zhu Guihua (4): > docs: update documentation for memory hot unplug > acpi: extend aml_field() to support UpdateRule > acpi: add hardware implementation for memory hot unplug > qmp-event: add event notification for memory hot unplug error > > docs/memory-hotplug.txt | 24 ++++++++-- > docs/qmp/qmp-events.txt | 17 +++++++ > docs/specs/acpi_mem_hotplug.txt | 32 ++++++++++++-- > hw/acpi/aml-build.c | 4 +- > hw/acpi/ich9.c | 19 ++++++-- > hw/acpi/memory_hotplug.c | 93 ++++++++++++++++++++++++++++++++++++--- > hw/acpi/piix4.c | 17 +++++-- > hw/core/qdev.c | 2 +- > hw/i386/acpi-build.c | 25 ++++++++--- > hw/i386/acpi-dsdt-mem-hotplug.dsl | 13 +++++- > hw/i386/pc.c | 62 ++++++++++++++++++++++++-- > include/hw/acpi/aml-build.h | 10 ++++- > include/hw/acpi/memory_hotplug.h | 12 +++++ > include/hw/acpi/pc-hotplug.h | 3 ++ > include/hw/qdev-core.h | 1 + > monitor.c | 1 + > qapi/event.json | 14 ++++++ > trace-events | 2 + > 18 files changed, 315 insertions(+), 36 deletions(-) >