On Mon, Oct 19, 2020 at 20:37:53 +0200, daggs wrote:
Greetings Peter,
> Sent: Monday, October 19, 2020 at 7:35 PM
> From: "Peter Krempa" <pkrempa(a)redhat.com>
> To: libvir-list(a)redhat.com
> Cc: "daggs" <daggs(a)gmx.com>
> Subject: Re: [PATCH 0/6] qemu: Fix cdrom as SCSI hostdev via -blockdev
[...]
>
> lsscsi
system has no /proc/scsi, thus no output. will this help?
lrwxrwxrwx 1 root root 0 Oct 19 13:08 /sys/bus/scsi/devices/host0
-> ../../../devices/pci0000:00/0000:00:1f.2/ata1/host0
lrwxrwxrwx 1 root root 0 Oct 19 13:08 /sys/bus/scsi/devices/host1
-> ../../../devices/pci0000:00/0000:00:1f.2/ata2/host1
lrwxrwxrwx 1 root root 0 Oct 19 13:08 /sys/bus/scsi/devices/host2
-> ../../../devices/pci0000:00/0000:00:1f.2/ata3/host2
lrwxrwxrwx 1 root root 0 Oct 19 13:08 /sys/bus/scsi/devices/host3
-> ../../../devices/pci0000:00/0000:00:1f.2/ata4/host3
lrwxrwxrwx 1 root root 0 Oct 19 13:08 /sys/bus/scsi/devices/host4
-> ../../../devices/pci0000:00/0000:00:1f.2/ata5/host4
lrwxrwxrwx 1 root root 0 Oct 19 13:08 /sys/bus/scsi/devices/host5
-> ../../../devices/pci0000:00/0000:00:1f.2/ata6/host5
try 'ls -lia /sys/bus/scsi/devices' that has all the data