|Subject:||[Qemu-discuss] Is it possible to write to a QEMU CDROM device?|
|Date:||Fri, 20 Mar 2015 16:33:58 -0500|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0|
I'm a new-comer to the list (and my apologies if this is not the appropriate place to ask my question).
My goal is to write from the guest OS to a CD or DVD reader/writer on my host system. Currently, the write operation is failing. I believe it is because the virtual CD-ROM device is set to be "readonly". Is it possible to write to a QEMU CDROM device and, if so, how?
I'm using the "virt-manager" GUI to start the virtual machine. Once started, the "qemu" command line from my virtual machine process includes the following, where the host's built-in CD reader/writer is "/dev/sr0".
/usr/bin/qemu-system-x86_64 ... -drive file=/dev/sr0,if=none,id=drive-ide0-0-1,readonly=on,format=raw
This obviously says that the device is "readonly".
A snippet of XML from my virtual machine from the CDROM is:
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdb' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
I've tried removing the <readonly/> tag from the above VM definition, and then running the VM, but the tag magically reappears in the VM definition when it runs.
Also, the "virt-manager" GUI shows the CDROM device as having the option of "Readonly" being checked (and the GUI does not allow me to uncheck it.)
Thanks for any help or pointers you can provide,
|[Prev in Thread]||Current Thread||[Next in Thread]|