diff options
author | Markus Armbruster | 2014-10-07 13:59:23 +0200 |
---|---|---|
committer | Kevin Wolf | 2014-10-20 14:03:50 +0200 |
commit | d829a2115f0817993e2b683601cb544a27980a8f (patch) | |
tree | 083f268c445c9d4a6473e79a3e964bb45ded9c06 /include/block/qapi.h | |
parent | blockdev: Fix blockdev-add not to create DriveInfo (diff) | |
download | qemu-d829a2115f0817993e2b683601cb544a27980a8f.tar.gz qemu-d829a2115f0817993e2b683601cb544a27980a8f.tar.xz qemu-d829a2115f0817993e2b683601cb544a27980a8f.zip |
block/qapi: Convert qmp_query_block() to BlockBackend
Much more command code needs conversion. I start with this one
because it's using bdrv_dev_* functions, which I'm about to lift into
BlockBackend.
While there, give bdrv_query_info() internal linkage.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/qapi.h')
-rw-r--r-- | include/block/qapi.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/block/qapi.h b/include/block/qapi.h index 03745464d6..168d788521 100644 --- a/include/block/qapi.h +++ b/include/block/qapi.h @@ -36,9 +36,6 @@ int bdrv_query_snapshot_info_list(BlockDriverState *bs, void bdrv_query_image_info(BlockDriverState *bs, ImageInfo **p_info, Error **errp); -void bdrv_query_info(BlockDriverState *bs, - BlockInfo **p_info, - Error **errp); void bdrv_snapshot_dump(fprintf_function func_fprintf, void *f, QEMUSnapshotInfo *sn); |