« Previous | Next » 

Revision 1ff735bd

ID1ff735bdc417945bc6df1857861b127644b3f461

Added by Kevin Wolf about 10 years ago

block: Detect unaligned length in bdrv_qiov_is_aligned()

For an O_DIRECT request to succeed, it's not only necessary that all
base addresses in the qiov are aligned, but also that each length in it
is aligned.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Wenchao Xia <>
Reviewed-by: Max Reitz <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences