aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-06-24 17:13:13 +0200
committerKevin Wolf <kwolf@redhat.com>2013-06-28 09:20:26 +0200
commitac3c5d831aa0ff796659300e186be1a35862dbd3 (patch)
tree8ce199a08d701e447e97f91174ee049b48358965 /qmp-commands.hx
parentcb78466ef60ccf707a6f38a1294c435b65a828e0 (diff)
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 'qmp-commands.hx')
0 files changed, 0 insertions, 0 deletions