[vfio-users] optical eject issue

Samuel Holland samuel at sholland.org
Sun May 24 01:05:29 UTC 2020


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




More information about the vfio-users mailing list