summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorStefan Hajnoczi2013-06-24 17:13:13 +0200
committerKevin Wolf2013-06-28 09:20:26 +0200
commitac3c5d831aa0ff796659300e186be1a35862dbd3 (patch)
tree8ce199a08d701e447e97f91174ee049b48358965 /qapi-schema.json
parentblockdev: drop redundant proto_drv check (diff)
downloadqemu-ac3c5d831aa0ff796659300e186be1a35862dbd3.tar.gz
qemu-ac3c5d831aa0ff796659300e186be1a35862dbd3.tar.xz
qemu-ac3c5d831aa0ff796659300e186be1a35862dbd3.zip
blockdev: use bdrv_getlength() in qmp_drive_mirror()
Use bdrv_getlength() for its byte units and error return instead of bdrv_get_geometry(). Reported-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi-schema.json')
0 files changed, 0 insertions, 0 deletions