scsi-block: always use SG_IO for MMC devices
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Nov 2011 13:31:52 +0000 (14:31 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 18 Nov 2011 13:14:32 +0000 (14:14 +0100)
commit89444ecc3ffb6e120194e9c625ff65b1947e6717
tree5835cd20821438d1efe89b7ac9a0e1085010dbdc
parent9e914c7265d3cb9cc41b57e4f422b706e0379abc
scsi-block: always use SG_IO for MMC devices

CD burning messes up the state of the host page cache and host block
device.  Just pass all operations down to the device, even though that
might have slightly worse performance.  Everything else just is not
reliable in combination with burning.

Reported-by: Thomas Schmitt <scdbackup@gmx.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-disk.c