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)
commit356c91d96a554099a4da5592a788c73a0a2ccdd0
treef5179cc0d80da614133ffc521a35d26c5be8a55e
parent4380b78b3a5240cc0838c4edbb7c01b9dc5ac897
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