Greetings Han, > Sent: Tuesday, October 20, 2020 at 12:33 PM > From: "Han Han" <hhan@xxxxxxxxxx> > To: "Peter Krempa" <pkrempa@xxxxxxxxxx> > Cc: "daggs" <daggs@xxxxxxx>, libvir-list@xxxxxxxxxx > 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.