Bug 451386

Summary: cdrom media change broken for qemu 0.9.1
Product: [Community] Virtualization Tools Reporter: cdmiller <cdmiller>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-03 17:51:47 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:

Description cdmiller 2008-06-13 22:54:41 UTC
Description of problem:
A cdrom media change no longer works in qemu 0.9.1.  From qemu FAQ:

http://calamari.reverse-dns.net:980/cgi-bin/moin.cgi/FrequentlyAskedQuestions#head-42074a0b764d793c64c73c855287fbb875a1f4c9

Version-Release number of selected component (if applicable):
libvirt 0.4.2
kvm 0.69

How reproducible:
always


Steps to Reproduce:
1. install qemu 0.9.1
2. check info block in qem monitor of running vm
3. try a cd change from virsh
  
Actual results:
change doesn't work, libvirt always uses cdrom rather than ide1-cd0


Expected results:


Additional info:

Comment 1 Daniel Veillard 2008-06-14 10:20:24 UTC
Can you try with libvirt-0.4.3 which was just released. I think I have
seens changes which could affect this,
https://admin.fedoraproject.org/updates/search/libvirt
there is an update for F-9 and one for F-8 in testing

Daniel

Comment 2 cdmiller 2008-06-16 00:31:01 UTC
Ok, I installed libvirt 0.4.3, and fired up a kvm vm.  Attempting to change the
cd within virt-manager results in the following log entries for the vm:

eject cdrom
change cdrom path-to-iso-file

and the cd change does not work (still pointing to original iso file).  Using
just qemu (no libvirt) and issuing a change ide1-cd0 from qemu console does
work.  So it appears libvirt 0.4.3 is still not working for cdrom change with
qemu 0.9.1 / kvm 0.69.

Comment 3 Cole Robinson 2008-09-03 17:51:47 UTC
This should be fixed upstream now:

http://git.et.redhat.com/?p=libvirt.git;a=commit;h=b00e6252fe2779ba92050b3f431fe2c95ea73d74

New release will most likely be in time for f10 beta. Closing this as UPSTREAM.