summary refs log tree commit diff stats
path: root/hw/display/omap_dss.c
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 /hw/display/omap_dss.c
parentcb78466ef60ccf707a6f38a1294c435b65a828e0 (diff)
downloadfocaccia-qemu-ac3c5d831aa0ff796659300e186be1a35862dbd3.tar.gz
focaccia-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 'hw/display/omap_dss.c')
0 files changed, 0 insertions, 0 deletions