Bug 963775

Summary: scsi-cd: tray statuses (locked and open) are not reset on boot/reboot of guest
Product: Red Hat Enterprise Linux 7 Reporter: Pavel Hrdina <phrdina>
Component: qemu-kvmAssignee: Pavel Hrdina <phrdina>
Status: CLOSED UPSTREAM QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, bsarathy, dyasny, juzhang, mkenneth, 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: 963773 Environment:
Last Closed: 2013-07-01 16:04: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:
Embargoed:
Bug Depends On: 963773    
Bug Blocks:    

Description Pavel Hrdina 2013-05-16 14:19:30 UTC
+++ This bug was initially created as a clone of Bug #963773 +++

Description of problem:

If you reboot a guest which locks the tray of optical drive the optical drive stay locked.

How reproducible: 100%

Steps to Reproduce:
1. Boot a guest with media inserted in optical drive (for example fedora 17)
2. The media is auto-mounted and the optical drive is locked
3. Reboot the guest.
4. Before kernel is loaded (in GRUB time) the optical drive is locked
  
Actual results:
Before kernel is loaded the optical drive is locked.

Expected results:
Optical drive should not be locked.

Comment 2 Pavel Hrdina 2013-07-01 16:04:59 UTC
Fixed by commit 3abd71cd98deff0209fdacd2bb7583428914075d because of rebase to upstream qemu 1.5.1