aboutsummaryrefslogtreecommitdiff
path: root/qemu-bridge-helper.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-06-26 13:23:18 +0200
committerKevin Wolf <kwolf@redhat.com>2014-08-15 15:07:13 +0200
commitd32f7c101b37c03f222008331db3b1d09493a4a3 (patch)
tree6d86c8b6bdc8f2efea000d2a4b46ab04ea7105f6 /qemu-bridge-helper.c
parent65a9bb25d6b7a4bb41edb102fa0363d81800b417 (diff)
downloadqemu-d32f7c101b37c03f222008331db3b1d09493a4a3.zip
qemu-d32f7c101b37c03f222008331db3b1d09493a4a3.tar.gz
qemu-d32f7c101b37c03f222008331db3b1d09493a4a3.tar.bz2
block: Use bdrv_nb_sectors() in bdrv_make_zero()
Instead of bdrv_getlength(). Variable target_size is initially in bytes, then changes meaning to sectors. Ugh. Replace by target_sectors. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions