aboutsummaryrefslogtreecommitdiff
path: root/migration-fd.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2013-06-23 08:07:08 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-17 17:00:26 +0200
commit0a53f010745635c39a83756a948df60a84e88fe5 (patch)
tree10442fb89a1afd83e7e287d7652285f56afbb43f /migration-fd.c
parent6453a3a69488196f26d12654c6b148446abdf3d6 (diff)
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 <ronniesahlberg@gmail.com> Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration-fd.c')
0 files changed, 0 insertions, 0 deletions