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).