Kevin Wolf f47c3f5a80 iscsi: Use bs->sg for everything else than disks
The current iscsi block driver code makes the rather arbitrary decision
that TYPE_MEDIUM_CHANGER and TYPE_TAPE devices have bs->sg = 1 and all
other device types are disks.

Instead of this, check for TYPE_DISK to expose the disk interface and
make everything else bs->sg = 1. In particular, this includes devices
with TYPE_STORAGE_ARRAY, which is what LUN 0 of an iscsi target is.
(See https://bugzilla.redhat.com/show_bug.cgi?id=1067784 for the exact
scenario.)

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
2014-03-05 16:58:20 +01:00
2014-03-04 18:12:02 +00:00
2014-02-21 15:04:58 +00:00
2014-03-03 09:46:27 +04:00
2014-02-07 16:42:13 +00:00
2014-01-08 19:07:20 +00:00
2014-02-25 14:30:28 +01:00
2014-02-28 11:52:03 -05:00
2014-02-11 22:56:37 +10:00
2014-02-11 22:56:37 +10:00
2014-03-03 09:46:27 +04:00
2013-11-04 15:39:41 +02:00
2014-02-25 14:30:28 +01:00
2014-02-21 21:02:23 +01:00
2014-02-25 14:30:28 +01:00
2014-02-25 14:26:59 +01:00
2014-01-24 17:40:03 +01:00
2014-02-25 10:50:11 +00:00
2014-02-25 10:50:11 +00:00
2013-12-04 15:19:00 +01:00
2014-02-20 13:14:18 +01:00
2014-02-17 11:57:23 -05:00
2013-11-27 14:02:45 -08:00
2014-03-04 18:12:02 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%