]> git.proxmox.com Git - mirror_qemu.git/commit
block: Include "node-name" if present in query-blockstats
authorFam Zheng <famz@redhat.com>
Fri, 31 Oct 2014 03:32:56 +0000 (11:32 +0800)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Dec 2014 09:25:29 +0000 (10:25 +0100)
commit4875a77950811631c26e156592e8b8df22208085
tree8e9fe23ba2fe9389041bb76df2abdefd8998152b
parent20a9e77dfabb3e664c0873726be1540175a4fda1
block: Include "node-name" if present in query-blockstats

Node name is a better identifier of BDS.

We will want to query statistics of a BDS node buried in the BDS graph,
so reporting the node's name if there is one will do the trick.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qapi.c
qapi/block-core.json