« Previous | Next » 

Revision 0a53f010

ID0a53f010745635c39a83756a948df60a84e88fe5

Added by Ronnie Sahlberg almost 11 years ago

Fix iSCSI crash on SG_IO with an iovector

Don't assume that SG_IO is always invoked with a simple buffer,
check the iovec_count and if it is >= 1 then we need to pass an array
of iovectors to libiscsi instead of just a plain buffer.

Signed-off-by: Ronnie Sahlberg <>
Cc:
Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences