mirror of https://github.com/xemu-project/xemu.git
qmp-commands: move 'query-memdev' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[Straightforward conflict with commit e1ff3c6
resolved]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
70d5b0c253
commit
cfc84c8b45
|
@ -1534,36 +1534,6 @@ Examples:
|
|||
|
||||
<- { "return": {} }
|
||||
|
||||
query-memdev
|
||||
------------
|
||||
|
||||
Show memory devices information.
|
||||
|
||||
|
||||
Example (1):
|
||||
|
||||
-> { "execute": "query-memdev" }
|
||||
<- { "return": [
|
||||
{
|
||||
"size": 536870912,
|
||||
"merge": false,
|
||||
"dump": true,
|
||||
"prealloc": false,
|
||||
"host-nodes": [0, 1],
|
||||
"policy": "bind"
|
||||
},
|
||||
{
|
||||
"id": "mem1",
|
||||
"size": 536870912,
|
||||
"merge": false,
|
||||
"dump": true,
|
||||
"prealloc": true,
|
||||
"host-nodes": [2, 3],
|
||||
"policy": "preferred"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
query-memory-devices
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -5563,6 +5563,31 @@
|
|||
# Returns: a list of @Memdev.
|
||||
#
|
||||
# Since: 2.1
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-memdev" }
|
||||
# <- { "return": [
|
||||
# {
|
||||
# "id": "mem1",
|
||||
# "size": 536870912,
|
||||
# "merge": false,
|
||||
# "dump": true,
|
||||
# "prealloc": false,
|
||||
# "host-nodes": [0, 1],
|
||||
# "policy": "bind"
|
||||
# },
|
||||
# {
|
||||
# "size": 536870912,
|
||||
# "merge": false,
|
||||
# "dump": true,
|
||||
# "prealloc": true,
|
||||
# "host-nodes": [2, 3],
|
||||
# "policy": "preferred"
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-memdev', 'returns': ['Memdev'] }
|
||||
|
||||
|
|
Loading…
Reference in New Issue