On 11/04/2011 10:18 AM, Thomas Schmitt wrote:

Paolo:
May i ask for the favor that you try to add O_RDWR to the qemu_open()
call of passthrough devices ?

I think the problem is that you're passing media=cdrom:

    if (media == MEDIA_CDROM) {
        /* CDROM is fine for any interface, don't check.  */
        ro = 1;
    }

Just do not do that when using scsi-generic.

Paolo

Reply via email to