diff options
| author | Stefan Hajnoczi | 2013-06-24 17:13:13 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-06-28 09:20:26 +0200 |
| commit | ac3c5d831aa0ff796659300e186be1a35862dbd3 (patch) | |
| tree | 8ce199a08d701e447e97f91174ee049b48358965 /qapi-schema.json | |
| parent | blockdev: drop redundant proto_drv check (diff) | |
| download | qemu-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
