summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau2016-06-23 13:56:06 +0200
committerMarkus Armbruster2017-01-16 09:19:45 +0100
commit18b43003d4738f6ea3466ba1a70b0f25c23b0b02 (patch)
treebb8b7bc717fc9272659b0cb1fb2d9f6a2a6124f8 /qapi-schema.json
parentqmp-commands: move 'query-memory-devices' doc to schema (diff)
downloadqemu-18b43003d4738f6ea3466ba1a70b0f25c23b0b02.tar.gz
qemu-18b43003d4738f6ea3466ba1a70b0f25c23b0b02.tar.xz
qemu-18b43003d4738f6ea3466ba1a70b0f25c23b0b02.zip
qmp-commands: move 'query-acpi-ospm-status' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json14
1 files changed, 12 insertions, 2 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 054e0c57f9..f7906f9859 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -5697,10 +5697,20 @@
##
# @query-acpi-ospm-status:
#
-# Lists ACPI OSPM status of ACPI device objects,
-# which might be reported via _OST method
+# Return a list of ACPIOSTInfo for devices that support status
+# reporting via ACPI _OST method.
#
# Since: 2.1
+#
+# Example:
+#
+# -> { "execute": "query-acpi-ospm-status" }
+# <- { "return": [ { "device": "d1", "slot": "0", "slot-type": "DIMM", "source": 1, "status": 0},
+# { "slot": "1", "slot-type": "DIMM", "source": 0, "status": 0},
+# { "slot": "2", "slot-type": "DIMM", "source": 0, "status": 0},
+# { "slot": "3", "slot-type": "DIMM", "source": 0, "status": 0}
+# ]}
+#
##
{ 'command': 'query-acpi-ospm-status', 'returns': ['ACPIOSTInfo'] }