From 22f9a094f854d8bfc19b47d2eef68328e7b89b5c Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 23 Jun 2016 13:55:05 +0200 Subject: qmp-commands: move 'query-memory-devices' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- qapi-schema.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'qapi-schema.json') diff --git a/qapi-schema.json b/qapi-schema.json index 0618de88bb..054e0c57f9 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -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'] } -- cgit v1.2.3-55-g7522