Bug 593758

Summary: qemu fails to start with -cdrom /dev/sr0 if no media inserted
Product: Red Hat Enterprise Linux 6 Reporter: Cole Robinson <crobinso>
Component: qemu-kvmAssignee: Kevin Wolf <kwolf>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: berrange, crobinso, daahern, gcosta, hbrock, jrfuller, lihuang, markmc, michen, mjenner, ndai, quintela, sghosh, syeghiay, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.74.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 505090 Environment:
Last Closed: 2010-07-11 19:55:36 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: 505090    
Bug Blocks:    

Comment 1 Cole Robinson 2010-05-19 16:14:22 UTC
Fix is now upstream, though it's not the same patch in RHEL5.

http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=3baf720e6b920d583ce2834d05e5a4e9603a1d56

Comment 2 RHEL Program Management 2010-05-19 16:15:23 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Cole Robinson 2010-05-28 16:25:45 UTC
It's probably better if someone actually involved with the KVM RHEL process takes this bug, it should be a trivial backport anyways.

Reassigning to Kevin, since I know he's familiar with the block/ code where this change lives.

Comment 7 Mike Cao 2010-06-17 06:51:44 UTC
Verified in qemu-kvm-0.12.1.2-2.77.el6

Reproduce steps:
1.Creatd connection using QEMU as the hypervisor.
2.Create guest winxp installed from CDROM.
3.After finish installation,eject CD, and the vm installed successfully.
4.Shutdown guest.
5.Run the guest.

Actual Results:
he guest can be started successfully without cdrom inserted.

The bug has already been fixed.