QMP: update 'query-version' documentation
Update the documentation of 'query-version' to output the string version broken
down.
Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 6597e1a6dc
)
This commit is contained in:
parent
c082082c76
commit
f8e3ee1a7d
@ -1623,13 +1623,25 @@ Show QEMU version.
|
||||
|
||||
Return a json-object with the following information:
|
||||
|
||||
- "qemu": QEMU's version (json-string)
|
||||
- "qemu": A json-object containing three integer values:
|
||||
- "major": QEMU's major version (json-int)
|
||||
- "minor": QEMU's minor version (json-int)
|
||||
- "micro": QEMU's micro version (json-int)
|
||||
- "package": package's version (json-string)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "query-version" }
|
||||
<- { "return": { "qemu": "0.11.50", "package": "" } }
|
||||
<- {
|
||||
"return":{
|
||||
"qemu":{
|
||||
"major":0,
|
||||
"minor":11,
|
||||
"micro":5
|
||||
},
|
||||
"package":""
|
||||
}
|
||||
}
|
||||
|
||||
EQMP
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user