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

daggs daggs at gmx.com
Tue Oct 20 12:10:12 UTC 2020


Greetings Peter,

> Sent: Tuesday, October 20, 2020 at 3:00 PM
> From: "Peter Krempa" <pkrempa at redhat.com>
> To: "daggs" <daggs at gmx.com>
> Cc: libvir-list at redhat.com
> Subject: Re: [PATCH 0/6] qemu: Fix cdrom as SCSI hostdev via -blockdev
>
> [...]
>
> try 'ls -lia /sys/bus/scsi/devices' that has all the data
>
>

$ ls -lia /sys/bus/scsi/devices
total 0
   7017 drwxr-xr-x    2 root     root             0 Oct 20 11:11 .
   7015 drwxr-xr-x    4 root     root             0 Oct 20 11:11 ..
  17968 lrwxrwxrwx    1 root     root             0 Oct 20 11:11 host0 -> ../../../devices/pci0000:00/0000:00:1f.2/ata1/host0
  18016 lrwxrwxrwx    1 root     root             0 Oct 20 11:11 host1 -> ../../../devices/pci0000:00/0000:00:1f.2/ata2/host1
  18064 lrwxrwxrwx    1 root     root             0 Oct 20 11:11 host2 -> ../../../devices/pci0000:00/0000:00:1f.2/ata3/host2
  18112 lrwxrwxrwx    1 root     root             0 Oct 20 11:11 host3 -> ../../../devices/pci0000:00/0000:00:1f.2/ata4/host3
  18160 lrwxrwxrwx    1 root     root             0 Oct 20 11:11 host4 -> ../../../devices/pci0000:00/0000:00:1f.2/ata5/host4
  18208 lrwxrwxrwx    1 root     root             0 Oct 20 11:11 host5 -> ../../../devices/pci0000:00/0000:00:1f.2/ata6/host5

Dagg.





More information about the libvir-list mailing list