Hello,

how can I remove ISO image from cdrom in running domain, please? I tried procedure which is described on your wiki (http://wiki.libvirt.org/page/QEMUSwitchToLibvirt#eject_DEV) but it doesn't work for me:

divinus:/kvm/iso # virsh attach-disk --type cdrom --mode readonly leon.i-tux.cz "" hdc
error: command 'attach-disk' requires <target> option

divinus:/kvm/iso # virsh attach-disk --type cdrom --mode readonly leon.i-tux.cz "" --target hdc
error: command 'attach-disk' requires <source> option

divinus:/kvm/iso # virsh attach-disk --type cdrom --mode readonly leon.i-tux.cz --source "" --target hdc
error: expected syntax: --source <string>

Thank you,
Jaromír Červenka