]> git.proxmox.com Git - mirror_qemu.git/commit - block/qapi.c
block/qapi: Add qdev device name to query-block
authorKevin Wolf <kwolf@redhat.com>
Tue, 11 Jul 2017 11:27:38 +0000 (13:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 18 Jul 2017 13:14:35 +0000 (15:14 +0200)
commit46eade7be83c110659ea9a6883fbd898d455ec06
treec5f8fc27e2eaf478743d3f1a4ee1607c1e63eb03
parent77beef8365ef797c95e49d87f07ed5d60d583594
block/qapi: Add qdev device name to query-block

With -blockdev/-device, users can indirectly create anonymous
BlockBackends, while the state of such backends is still of interest. As
a preparation for making such BBs visible in query-block, make sure that
they can be identified even without a name by adding the ID/QOM path of
their qdev device to BlockInfo.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
block/qapi.c
hmp.c
qapi/block-core.json
tests/qemu-iotests/067.out