Bug 1179577
Summary: | QEMU fail to do SG_IO INQUIRY checking when pass-through(scsi-block) a LVM to KVM guest | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Sibiao Luo <sluo> | |
Component: | qemu-kvm-rhev | Assignee: | Ademar Reis <areis> | |
Status: | CLOSED CANTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.1 | CC: | chayang, famz, juzhang, knoel, kwolf, michen, pbonzini, qzhang, virt-maint, xfu | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1179578 (view as bug list) | Environment: | ||
Last Closed: | 2015-01-08 18:14:55 UTC | Type: | Bug | |
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: | 1179578 |
Description
Sibiao Luo
2015-01-07 06:59:13 UTC
This is unfortunately expected behavior when CAP_SYS_RAWIO is valid. The patch that was applied to RHEL6 was rejected upstream and is not in RHEL7. Example: # capsh --drop=cap_sys_rawio -- -c '/usr/libexec/qemu-kvm -M pc -enable-kvm -m 2048 -smp 2 -drive file=/dev/vg-root/rhel5-x86-64,id=root,if=none -device virtio-scsi-pci -device scsi-block,drive=root -S' qemu-kvm: -device scsi-block,drive=root: scsi-block: INQUIRY failed qemu-kvm: -device scsi-block,drive=root: Device initialization failed. qemu-kvm: -device scsi-block,drive=root: Device 'scsi-block' could not be initialized (put the capsh command on a single line). |