Red Hat Bugzilla – Bug 1020999
virsh change-media and --eject are not noticed by the guest
Last modified: 2016-04-26 10:11:55 EDT
Description of problem:
Following Fedora Virtualization Test Day, test http://fedoraproject.org/wiki/QA:Testcase_Virt_Change_CDROM_Media.
Connecting/disconnecting the CD through virt-manager GUI results in the guest noticing the change immediately.
Doing the same (I guess it should be the same) with virsh results in the CD being removed/changed but the guest doesn't notice it and thinks the old image is still present. Only when it is accessed, the new content is shown, or an error occurs.
Version-Release number of selected component (if applicable):
I tried a few times, seems to be always the case.
Steps to Reproduce:
1. attach /var/tmp/Fedora-20-Beta-TC5-x86_64-netinst.iso as cdrom to the guest
2. sudo virsh change-media f20 hda /var/tmp/Fedora-20-Beta-TC5-i386-netinst.iso
3. sudo virsh change-media f20 hda --eject
Guest doesn't notice the change.
Guest shows that the CD has been ejected or changed.
FWIW this was working fine on f21 and f22, so just closing as CURRENTRELEASE since I don't think we will ever be tracking down + fixing the f20 bug