This series adds support for 4k logical blocks by bouncing requests unless the host's logical_block_size is also 4096.
Paolo Bonzini (3): block: add bdrv_get_alignment, use it raw: implement raw_get_alignment block: do not rely on the buffer alignment passed to the guest block.c | 34 +++++++++++++++++++++++--- block.h | 3 +- block/raw-posix.c | 68 ++++++++++++++++++++++++++++++++++++++++++----------- block/raw-win32.c | 45 +++++++++++++++++++++++++++++++++++ block_int.h | 1 + hw/ide/core.c | 2 +- hw/scsi-disk.c | 2 +- hw/scsi-generic.c | 1 - hw/virtio-blk.c | 2 +- 9 files changed, 135 insertions(+), 23 deletions(-) -- 1.7.7.1