summaryrefslogtreecommitdiffstats
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-10-31 11:32:57 +0800
committerKevin Wolf <kwolf@redhat.com>2014-12-10 10:25:29 +0100
commitf71eaa74c0bf2cf9da9a00b571d4b8162c61e29d (patch)
treeca8da0be2d7255cce7c8af92a2b42b614315bb0b /qmp-commands.hx
parent4875a77950811631c26e156592e8b8df22208085 (diff)
downloadhqemu-f71eaa74c0bf2cf9da9a00b571d4b8162c61e29d.zip
hqemu-f71eaa74c0bf2cf9da9a00b571d4b8162c61e29d.tar.gz
qmp: Add optional switch "query-nodes" in query-blockstats
This bool option will allow query all the node names. It iterates all the BDSes that are assigned a name, also in this case don't query up the backing chain. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 718dd92..d4b0010 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2347,7 +2347,7 @@ EQMP
{
.name = "query-blockstats",
- .args_type = "",
+ .args_type = "query-nodes:b?",
.mhandler.cmd_new = qmp_marshal_input_query_blockstats,
},
OpenPOWER on IntegriCloud