| Summary: | the readonly permission of floppy will be changed after eject/change | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Sibiao Luo <sluo> |
| Component: | qemu-kvm | Assignee: | Hanna Czenczek <hreitz> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.5 | CC: | bsarathy, chayang, juzhang, michen, mkenneth, pbonzini, qzhang, rbalakri, shu, tlavigne, virt-maint, xfu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-0.12.1.2-2.420.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 06:53:59 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: | |
|
Description
Sibiao Luo
2013-10-31 09:53:21 UTC
Also tried the ide/scsi-cd cdrom that did not meet such issue, it still keep the readonly permission all the same. - for scsi-cd: e.g.1:...-drive file=/home/my-cdrom1.iso,media=cdrom,if=none,id=drive-disk1,media=cdrom,format=raw,cache=none,aio=native,readonly=on -device virtio-scsi-pci,bus=pci.0,addr=0x8,id=scsi0 -device scsi-cd,bus=scsi0.0,drive=drive-disk1,id=disk1 (qemu) info block ... drive-disk1: removable=1 locked=0 tray-open=0 io-status=ok file=/home/my-cdrom1.iso ro=1 drv=raw encrypted=0 (qemu) change drive-disk1 /home/my-cdrom2.iso (qemu) info block ... drive-disk1: removable=1 locked=0 tray-open=0 io-status=ok file=/home/my-cdrom2.iso ro=1 drv=raw encrypted=0 (qemu) - for ide: e.g.2:...-drive file=/home/my-cdrom1.iso,media=cdrom,if=none,id=drive-disk1,format=raw,cache=none,aio=native,media=cdrom,readonly=on -device ide-drive,bus=ide.0,unit=0,drive=drive-disk1,id=disk1 (qemu) info block ... drive-disk1: removable=1 locked=0 tray-open=0 io-status=ok file=/home/my-cdrom1.iso ro=1 drv=raw encrypted=0 (qemu) eject drive-disk1 (qemu) info block ... drive-disk1: removable=1 locked=0 tray-open=1 io-status=ok [not inserted] (qemu) change drive-disk1 /home/my-cdrom2.iso (qemu) info block ... drive-disk1: removable=1 locked=0 tray-open=0 io-status=ok file=/home/my-cdrom2.iso ro=1 drv=raw encrypted=0 Best Regards, sluo Yes, rhel7.0 host did not meet such issue. host info: # uname -r && rpm -q qemu-kvm 3.10.0-37.el7.x86_64 qemu-kvm-1.5.3-10.el7.x86_64 e.g:# /usr/libexec/qemu-kvm -drive file=/home/floppy1.vfd,if=none,id=drive-fdc0-0-0,readonly=on,format=raw -global isa-fdc.driveA=drive-fdc0-0-0 -vnc :1 -monitor stdio (qemu) info block drive-fdc0-0-0: removable=1 locked=0 tray-open=0 file=/home/floppy1.vfd ro=1 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0 ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted] sd0: removable=1 locked=0 tray-open=0 [not inserted] (qemu) change drive-fdc0-0-0 /home/floppy2.vfd (qemu) info block drive-fdc0-0-0: removable=1 locked=0 tray-open=0 file=/home/floppy2.vfd ro=1 drv=qcow2 encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0 ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted] sd0: removable=1 locked=0 tray-open=0 [not inserted] (qemu) Best Regards, sluo This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. Fix included in qemu-kvm-0.12.1.2-2.420.el6 Verified on qemu-kvm-rhev-0.12.1.2-2.428.el6.x86_64 (qemu) info block drive-fdc0-0-0: removable=1 locked=0 tray-open=0 file=floppy ro=1 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0 (qemu) change drive-fdc0-0-0 floppy2 (qemu) info block drive-fdc0-0-0: removable=1 locked=0 tray-open=0 file=floppy ro=1 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0 Reproduced by qemu-kvm-rhev-0.12.1.2-2.415.el6.x86_64: (qemu) change drive-fdc0-0-0 floppy2 (qemu) info block drive-virtio-disk0: removable=0 io-status=ok file=/root/nfs/RHEL-Server-7.0-64-virtio.qcow2 ro=0 drv=qcow2 encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0 drive-fdc0-0-0: removable=1 locked=0 tray-open=0 file=floppy2 ro=0 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1490.html |