block: Switch blk_*write_zeroes() to byte interface
commit983a1600504b1b78242b9da29b0d7018a6eb231d
authorEric Blake <eblake@redhat.com>
Fri, 6 May 2016 16:26:29 +0000 (6 10:26 -0600)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2016 13:22:08 +0000 (12 15:22 +0200)
treeeeac41d09075981786e1c56daad00f0fcad94752
parentb7d17f9fa4df83ed060168c450889d73c441c8f6
block: Switch blk_*write_zeroes() to byte interface

Sector-based blk_write() should die; convert the one-off
variant blk_write_zeroes() to use an offset/count interface
instead.  Likewise for blk_co_write_zeroes() and
blk_aio_write_zeroes().

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/block-backend.c
block/parallels.c
hw/scsi/scsi-disk.c
include/sysemu/block-backend.h
qemu-img.c
qemu-io-cmds.c