qmp-commands: move 'query-memory-devices' 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
cfc84c8b45
commit
22f9a094f8
@ -1534,25 +1534,6 @@ Examples:
|
||||
|
||||
<- { "return": {} }
|
||||
|
||||
query-memory-devices
|
||||
--------------------
|
||||
|
||||
Return a list of memory devices.
|
||||
|
||||
Example:
|
||||
-> { "execute": "query-memory-devices" }
|
||||
<- { "return": [ { "data":
|
||||
{ "addr": 5368709120,
|
||||
"hotpluggable": true,
|
||||
"hotplugged": true,
|
||||
"id": "d1",
|
||||
"memdev": "/objects/memX",
|
||||
"node": 0,
|
||||
"size": 1073741824,
|
||||
"slot": 0},
|
||||
"type": "dimm"
|
||||
} ] }
|
||||
|
||||
query-acpi-ospm-status
|
||||
----------------------
|
||||
|
||||
|
@ -5641,6 +5641,22 @@
|
||||
# Lists available memory devices and their state
|
||||
#
|
||||
# Since: 2.1
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-memory-devices" }
|
||||
# <- { "return": [ { "data":
|
||||
# { "addr": 5368709120,
|
||||
# "hotpluggable": true,
|
||||
# "hotplugged": true,
|
||||
# "id": "d1",
|
||||
# "memdev": "/objects/memX",
|
||||
# "node": 0,
|
||||
# "size": 1073741824,
|
||||
# "slot": 0},
|
||||
# "type": "dimm"
|
||||
# } ] }
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-memory-devices', 'returns': ['MemoryDeviceInfo'] }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user