Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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> (cherry picked from commit 91bea4e) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information