Bug 993777
Summary: | Passthrough CDROM(scsi_block) can not be removable | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | langfang <flang> |
Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.5 | CC: | acathrow, bsarathy, flang, juzhang, mkenneth, qzhang, sluo, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-07 03:17:27 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: |
Description
langfang
2013-08-06 12:12:53 UTC
correct info: 3)eject the CDROM in guest ,can be eject succsessfully--->then (qemu)change drive-cd-disk /home//Windows_Server_2008_R2_GA_EN.iso--->hit same problem(can not change) Choose the CDROM in guest--->choose "eject" Test this bug on latest verion on rhel7,hit same problem # uname -r 3.10.0-4.el7.x86_64 # rpm -q qemu-kvm qemu-kvm-1.5.2-2.el7.x86_64 Guest: 2.6.32-397.el6.x86_64 1.Boot guest with ... -drive file=/dev/cdrom,if=none,id=drive-cd-disk,media=cdrom,format=raw,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,bus=pci.0,addr=0x7,id=scsi1 -device scsi-block,drive=drive-cd-disk,bus=scsi1.0,id=scsi_cd.. 2.(qemu)info block ... drive-cd-disk: removable=0 io-status=ok file=/dev/cdrom ro=1 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0--->removable=0 .. 3. (qemu) change drive-cd-disk /home/Windows_Server_2008_R2_GA_EN.iso Device 'drive-cd-disk' is not removable 4.eject in rhel6.5 guest Choose the CDROM device--->press "eject"-->successfully 5)(qemu)info block ..drive-cd-disk: removable=0 io-status=ok file=/dev/cdrom ro=1 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0.. 6)(qemu)change drive-cd-disk /home/Windows_Server_2008_R2_GA_EN.iso Device 'drive-cd-disk' is not removable addtional info: 1)If use "scsi-cd" not hit the problem ... -drive file=/dev/cdrom,if=none,id=drive-cd-disk,media=cdrom,format=raw,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,bus=pci.0,addr=0x7,id=scsi1 -device scsi-cd,drive=drive-cd-disk,bus=scsi1.0,id=scsi_cd... (qemu)info block .. drive-cd-disk: removable=1 locked=0 tray-open=0 io-status=ok file=/dev/cdrom ro=1 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0--->removable=1 .. My idea: 1) Maybe this is the design for scsi-block(passthrough cdrom) 2)I see another bug Bug 687900 - qemu host cdrom support not properly updating guests on media changes at physical CD/DVD drives--->won't fix As Amit comment40 : "Closing this bug -- please see comment 35, comment 36. scsi cdrom passthrough can give better results, but cdrom passthrough on RHEL6 hosts isn't currently being worked on." So maybe this is won't fix problem. Hi, amit Could you pleases help me see this bug? thanks I will close this bug ,because when we want to change the passthrough CDROM,no need to use qemu commands to change ,eg:(qemu)change drive-cd-disk /home/Windows_Server_2008_R2_GA_EN.iso .We should change the passthrogh CDROM through physical machine CDROM drive. And i also test ,not hit problem. thanks |