[PATCH 0/6] qemu: Fix cdrom as SCSI hostdev via -blockdev

daggs daggs at gmx.com
Tue Oct 20 09:56:28 UTC 2020


Greetings Han,
 
> Sent: Tuesday, October 20, 2020 at 12:33 PM
> From: "Han Han" <hhan at redhat.com>
> To: "Peter Krempa" <pkrempa at redhat.com>
> Cc: "daggs" <daggs at gmx.com>, libvir-list at redhat.com
> Subject: Re: [PATCH 0/6] qemu: Fix cdrom as SCSI hostdev via -blockdev

> You can emulate it by scsi_debug:
> ➜  ~ modprobe scsi_debug ptype=5
> ➜  ~ lsscsi
> [2:0:0:0]    cd/dvd  Linux    scsi_debug       0188  /dev/sr0

extremely cool, I did not know that.

thanks for sharing

Dagg.





More information about the libvir-list mailing list