use qemu_blockalign consistently
commit72aef7318f54f0ec8c84c2bf2bb8edc5702d7dd0
authorChristoph Hellwig <hch@lst.de>
Sun, 12 Sep 2010 21:42:56 +0000 (12 23:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 21 Sep 2010 13:39:42 +0000 (21 15:39 +0200)
tree57ce22e51c76063432eca60190f7f44d015a2b80
parenta655211ac6d379c5b0813761e5d11415780f41fd
use qemu_blockalign consistently

Use qemu_blockalign for all allocations in the block layer.  This allows
increasing the required alignment, which is need to support O_DIRECT on
devices with large block sizes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-disk.c
hw/sd.c
posix-aio-compat.c
qemu-io.c
qemu-nbd.c