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>
This commit is contained in:
parent
22f9a094f8
commit
18b43003d4
@ -1534,20 +1534,6 @@ Examples:
|
|||||||
|
|
||||||
<- { "return": {} }
|
<- { "return": {} }
|
||||||
|
|
||||||
query-acpi-ospm-status
|
|
||||||
----------------------
|
|
||||||
|
|
||||||
Return list of ACPIOSTInfo for devices that support status reporting
|
|
||||||
via ACPI _OST method.
|
|
||||||
|
|
||||||
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}
|
|
||||||
]}
|
|
||||||
|
|
||||||
rtc-reset-reinjection
|
rtc-reset-reinjection
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
@ -5697,10 +5697,20 @@
|
|||||||
##
|
##
|
||||||
# @query-acpi-ospm-status:
|
# @query-acpi-ospm-status:
|
||||||
#
|
#
|
||||||
# Lists ACPI OSPM status of ACPI device objects,
|
# Return a list of ACPIOSTInfo for devices that support status
|
||||||
# which might be reported via _OST method
|
# reporting via ACPI _OST method.
|
||||||
#
|
#
|
||||||
# Since: 2.1
|
# 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'] }
|
{ 'command': 'query-acpi-ospm-status', 'returns': ['ACPIOSTInfo'] }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user