]> Git Repo - qemu.git/commit
blockdev: use bdrv_getlength() in qmp_drive_mirror()
authorStefan Hajnoczi <[email protected]>
Mon, 24 Jun 2013 15:13:13 +0000 (17:13 +0200)
committerKevin Wolf <[email protected]>
Fri, 28 Jun 2013 07:20:26 +0000 (09:20 +0200)
commitac3c5d831aa0ff796659300e186be1a35862dbd3
tree8ce199a08d701e447e97f91174ee049b48358965
parentcb78466ef60ccf707a6f38a1294c435b65a828e0
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
blockdev.c
This page took 0.025204 seconds and 4 git commands to generate.