« Previous | Next » 

Revision 91bea4e2

ID91bea4e2bb1a5f7954a3b3a4f2e28e96bd25c458

Added by Peter Lieven almost 11 years ago

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 <>
Cc:
Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences