]> git.proxmox.com Git - mirror_qemu.git/commit
block/qapi: Add 'qdev' field to query-blockstats result
authorKevin Wolf <kwolf@redhat.com>
Fri, 27 Jul 2018 14:07:07 +0000 (16:07 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 30 Jul 2018 13:35:37 +0000 (15:35 +0200)
commit5a9cb5a97f1e519f249d9ec482d498b78296b51d
treeb655c8aae4475e2b0f1283dbad3c43e8599f87c2
parent34fa110e424e9a6a9b7e0274c3d4bfee766eb7ed
block/qapi: Add 'qdev' field to query-blockstats result

Like for query-block, the client needs to identify which BlockBackend
the returned data is for. Anonymous BlockBackends are identified by the
device model they are attached to. Add a 'qdev' field that contains the
qdev ID or QOM path of the attached device model.

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