aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-09-12 23:43:21 +0200
committerKevin Wolf <kwolf@redhat.com>2010-09-21 15:39:42 +0200
commit581b9e29f36eec5de0779c3dbade980e4405d92e (patch)
tree8573c8af1a264501851c7d05ed86634375a5e612 /qemu-nbd.c
parent72aef7318f54f0ec8c84c2bf2bb8edc5702d7dd0 (diff)
raw-posix: handle > 512 byte alignment correctly
Replace the hardcoded handling of 512 byte alignment with bs->buffer_alignment to handle larger sector size devices correctly. Note that we can not rely on it to be initialize in bdrv_open, so deal with the worst case there. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions