How to mount a cdrom to a kvm/qemu domain?

Posted by ??O????? on Server Fault See other posts from Server Fault or by ??O?????
Published on 2012-03-26T10:14:17Z Indexed on 2012/03/26 11:34 UTC
Read the original article Hit count: 238

Filed under:
|

I have set up a virtual machine running Windows XP on my Ubuntu laptop. Using the virt-manager GUI application, I can insert a CD in my drive and go to Details?IDE CDROM 1 and click on the Connect button. Then the CD becomes available in my virtual machine.

How can I do the same through the command line? Obviously, I'd like to be able to disconnect from the command line too.

Note: I can start the VM from the command line using virsh start testbed (testbed being the name of the domain/VM).

© Server Fault or respective owner

Related posts about cdrom

Related posts about virsh