Hide Forgot
$ sudo virsh change-media f22-beta-livecd hda /home/crobinso/Fedora-Server-DVD-x86_64-22_Beta.iso succeeded to complete action update on media [crobinso@colepc ~]$ sudo virsh change-media f22-beta-livecd hda --eject error: Failed to complete action eject on media error: internal error: unable to execute QEMU command 'eject': Device 'drive-ide0-0-0' is locked [crobinso@colepc ~]$ sudo virsh change-media f22-beta-livecd hda --eject succeeded to complete action eject on media Sounds like this is a know deficiency of qemu: https://bugzilla.redhat.com/show_bug.cgi?id=1147471
This was fixed by commit 256496e1499fcc7b20a51919eb4471987a36dbab Author: Pavel Hrdina <phrdina> Date: Mon Jun 29 16:18:53 2015 +0200 monitor: detect that eject fails because the tray is locked which is in f24+