On 5/23/20 5:43 PM, Roger Lawhorn wrote:
> 
> Well,
> 
> Got an error:
> qemu4.0-system-x86_64: -device scsi-generic,drive=cd0: SG_GET_SCSI_ID ioctl 
> failed

I haven't seen that error before.

Make sure you're specifying the /dev/sgX node that matches your optical drive.
Try `dmesg | grep sr.*sg` to find it.

> The drive itself is sata so I don't think it will accept scsi commands.

PATA/SATA optical drives are actually all SCSI on the inside. ATAPI is SCSI
tunneled over ATA. So I think it should work :)

Cheers,
Samuel

_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users

Reply via email to