Bug 1021102 - Add support for rerror/werror to scsi-generic in rhel6
Add support for rerror/werror to scsi-generic in rhel6
Status: CLOSED DEFERRED
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.5
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Virtualization Maintenance
Virtualization Bugs
:
Depends On: 919380
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-19 08:20 EDT by Sibiao Luo
Modified: 2013-10-24 19:24 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 919380
Environment:
Last Closed: 2013-10-24 19:24:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 1 Sibiao Luo 2013-10-19 08:22:45 EDT
host info:
2.6.32-424.el6.x86_64
qemu-kvm-0.12.1.2-2.414.el6.x86_64
seabios-0.6.1.2-28.el6.x86_64

# sg_map
/dev/sg0  /dev/sda
/dev/sg1  /dev/scd0
/dev/sg2  /dev/sdb   <------a iSCSI LUN

e.g:...-drive file=/dev/sg2,if=none,id=drive-data-disk,format=raw,*rerror=stop,werror=stop* -device virtio-scsi-pci,vectors=0,bus=pci.0,addr=0x7,id=scsi0 -device scsi-generic,drive=drive-data-disk,id=data-disk,bus=scsi0.0
qemu-kvm: -device scsi-generic,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device doesn't support drive option werror
qemu-kvm: -device scsi-generic,drive=drive-data-disk,id=data-disk,bus=scsi0.0: Device 'scsi-generic' could not be initialized
/etc/qemu-ifdown: could not launch network script

Best Regards,
sluo
Comment 2 Paolo Bonzini 2013-10-24 19:24:50 EDT
scsi-generic is not accessible from libvirt (and thus not supported) in RHEL6. Only scsi-block is.

Please see https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/ch18s06.html

Note You need to log in before you can comment on or make changes to this bug.