diff options
author | Peter Lieven <pl@kamp.de> | 2013-07-11 14:16:27 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-17 17:01:41 +0200 |
commit | 91bea4e2bb1a5f7954a3b3a4f2e28e96bd25c458 (patch) | |
tree | 462f315a73d3902db2068c9469c795bbedffe10f /aio-win32.c | |
parent | 7e4d5a9f94a0d8485bf63e1f8256e0a0014495ab (diff) |
iscsi: assert that sectors are aligned to LUN blocksize
if the blocksize of an iSCSI LUN is bigger than the BDRV_SECTOR_SIZE
it is possible that sector_num or nb_sectors are not correctly
aligned.
to avoid corruption we fail requests which are misaligned.
Signed-off-by: Peter Lieven <pl@kamp.de>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'aio-win32.c')
0 files changed, 0 insertions, 0 deletions