qmp: Add optional switch "query-nodes" in query-blockstats
commitf71eaa74c0bf2cf9da9a00b571d4b8162c61e29d
authorFam Zheng <famz@redhat.com>
Fri, 31 Oct 2014 03:32:57 +0000 (31 11:32 +0800)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Dec 2014 09:25:29 +0000 (10 10:25 +0100)
treeca8da0be2d7255cce7c8af92a2b42b614315bb0b
parent4875a77950811631c26e156592e8b8df22208085
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>
block/qapi.c
hmp.c
qapi/block-core.json
qmp-commands.hx