Files
qemu/hw/scsi
Paolo Bonzini 0c80570170 virtio-scsi: work around bug in old BIOSes
Old BIOSes left some padding by mistake after the req_size/resp_size.
New QEMU does not like it, thinking it is a bidirectional command.

As a workaround, we can check if the ANY_LAYOUT bit is set; if not, we
always consider the first buffer as the virtio-scsi request/response,
because, back when QEMU did not support ANY_LAYOUT, it expected the
payload to start at the second element of the iovec.

This can show up during migration.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 55783a5521)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-01-07 14:43:28 -06:00
..
2015-01-07 14:27:24 -06:00
2014-06-18 08:47:10 +02:00
2014-04-28 13:48:41 +02:00
2014-06-23 11:01:25 -04:00
2013-09-12 08:46:21 +02:00
2015-01-06 16:00:06 -06:00