From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwrW4-0001IW-I5 for qemu-devel@nongnu.org; Tue, 17 Jun 2014 07:25:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwrVy-00088P-U5 for qemu-devel@nongnu.org; Tue, 17 Jun 2014 07:25:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwrVy-00088H-KM for qemu-devel@nongnu.org; Tue, 17 Jun 2014 07:25:22 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5HBPMSw018801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 17 Jun 2014 07:25:22 -0400 Date: Tue, 17 Jun 2014 14:25:48 +0300 From: "Michael S. Tsirkin" Message-ID: <20140617112548.GC7457@redhat.com> References: <1402938749-13371-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1402938749-13371-1-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/5] ACPI memory hotplug: QMP interfaces List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: pkrempa@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com On Mon, Jun 16, 2014 at 07:12:24PM +0200, Igor Mammedov wrote: > changes since v1: > * amended doc comments > * fix spelling/gramar errors in commit messages > > this is implemented on top of PCI tree with > memory hotplug and NUMA seriesi queued there: > > Series adds following QMP commands: > - query-memory-devices > - query-acpi-ospm-status > and event: > - ACPI_DEVICE_OST > > Which could be used by management tools to query current > state of memory devices (implemented only for PCDIMMDevice so far) > and a related ACPI view of corresponding status of slots > (ACPI Memory Device objects). Applied, thanks! > git tree for testing: > https://github.com/imammedo/qemu/commits/memory-hotplug-OST-v2 > > Igor Mammedov (5): > qmp: add query-memory-devices command > acpi: introduce TYPE_ACPI_DEVICE_IF interface > acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices > qmp: add query-acpi-ospm-status command > qmp: add ACPI_DEVICE_OST event handling > > docs/qmp/qmp-events.txt | 10 ++++ > hw/acpi/Makefile.objs | 1 + > hw/acpi/acpi_interface.c | 15 ++++++ > hw/acpi/ich9.c | 7 +++ > hw/acpi/memory_hotplug.c | 60 ++++++++++++++++++++++- > hw/acpi/piix4.c | 11 ++++ > hw/isa/lpc_ich9.c | 3 + > hw/mem/pc-dimm.c | 39 ++++++++++++++ > include/hw/acpi/acpi_dev_interface.h | 43 ++++++++++++++++ > include/hw/acpi/ich9.h | 3 + > include/hw/acpi/memory_hotplug.h | 1 + > include/hw/mem/pc-dimm.h | 2 + > include/monitor/monitor.h | 1 + > monitor.c | 1 + > qapi-schema.json | 92 ++++++++++++++++++++++++++++++++++ > qmp-commands.hx | 49 ++++++++++++++++++ > qmp.c | 31 +++++++++++ > stubs/Makefile.objs | 1 + > stubs/qmp_pc_dimm_device_list.c | 7 +++ > 19 files changed, 376 insertions(+), 1 deletions(-) > create mode 100644 hw/acpi/acpi_interface.c > create mode 100644 include/hw/acpi/acpi_dev_interface.h > create mode 100644 stubs/qmp_pc_dimm_device_list.c