Bug 621933
Summary: | KVM is not reporting missing support for SCSI | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Alexander Todorov <atodorov> | |
Component: | qemu-kvm | Assignee: | Markus Armbruster <armbru> | |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 6.0 | CC: | berrange, eblake, gozen, mishu, mkenneth, rfreire, rmitchel, sneuner, tburke, virt-maint, weizhan, xen-maint | |
Target Milestone: | beta | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 727766 (view as bug list) | Environment: | ||
Last Closed: | 2010-11-18 14:01:46 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 580953, 727766 |
Description
Alexander Todorov
2010-08-06 14:29:20 UTC
This is a QEMU bug. It appears latest builds have removed support for SCSI, but the way this is reported when launching a guest with SCSI is horribly misleading making it look like a syntax error in the command line. # qemu-system-x86_64: -device lsi,id=scsi0,bus=pci.0,addr=0x5: Parameter 'driver' expects a driver name Should say something along the lines of # qemu-system-x86_64: -device lsi,id=scsi0,bus=pci.0,addr=0x5: No support for driver name 'lsi' *** Bug 622340 has been marked as a duplicate of this bug. *** *** Bug 623079 has been marked as a duplicate of this bug. *** *** Bug 649305 has been marked as a duplicate of this bug. *** I think we have two separate bugs here. One is that QEMU's error message is too unspecific. That's indeed a qemu-kvm bug. The other is that libvirt doesn't handle the "driver not available" error, and throws an internal error instead (traceback and all). If libvirt discovered available drivers, not checking for a "driver unavailable" error could be excused, because then the error *is* an internal error. But since it doesn't discover them, I think it should check for and handle "driver unavailable". Libvirt not discovering available drivers is a conscious decision. Feature discovery it is rather brittle with current QEMU, because QEMU still lacks sensible discovery interfaces. Therefore, discovery should be used as sparingly as practical. |