[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 0/5] pc: ACPI memory hotplug: QMP interfaces
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [RFC 0/5] pc: ACPI memory hotplug: QMP interfaces |
Date: |
Wed, 28 May 2014 16:57:31 +0200 |
RFC is implemented on top of v3 memory hotplug series:
https://lists.nongnu.org/archive/html/qemu-devel/2014-05/msg05482.html
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 DimmDevice so far)
and related ACPI view of corresponding status of slots
(ACPI Memory Device objects).
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 | 56 +++++++++++++++++++++++-
hw/acpi/piix4.c | 11 +++++
hw/isa/lpc_ich9.c | 3 +
hw/mem/dimm.c | 36 +++++++++++++++
include/hw/acpi/acpi_dev_interface.h | 43 ++++++++++++++++++
include/hw/acpi/ich9.h | 3 +
include/hw/acpi/memory_hotplug.h | 1 +
include/hw/mem/dimm.h | 2 +
include/monitor/monitor.h | 1 +
monitor.c | 1 +
qapi-schema.json | 80 ++++++++++++++++++++++++++++++++++
qmp-commands.hx | 49 +++++++++++++++++++++
qmp.c | 31 +++++++++++++
stubs/Makefile.objs | 1 +
stubs/qmp_dimm_device_list.c | 7 +++
19 files changed, 357 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_dimm_device_list.c
- [Qemu-devel] [RFC 0/5] pc: ACPI memory hotplug: QMP interfaces,
Igor Mammedov <=
[Qemu-devel] [RFC 2/5] acpi: introduce TYPE_ACPI_DEVICE_IF interface, Igor Mammedov, 2014/05/28
[Qemu-devel] [RFC 3/5] acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices, Igor Mammedov, 2014/05/28