qemu-img: Use qemu_blockalign
authorKevin Wolf <kwolf@redhat.com>
Mon, 8 Aug 2011 12:09:12 +0000 (14:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 23 Aug 2011 12:15:17 +0000 (14:15 +0200)
commitbb1c05973cf2206b628b0dc064f7e022b63f2702
treef5179cc0d80da614133ffc521a35d26c5be8a55e
parent6cbc3031c8408e4cb3e55a01f25536e81d3ae90d
qemu-img: Use qemu_blockalign

Now that you can use cache=none for the output file in qemu-img, we should
properly align our buffers so that raw-posix doesn't have to use its (smaller)
bounce buffer.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-img.c