[PATCH 1/1] QEMU: support USB cdrom devices

Gerd Hoffmann kraxel at redhat.com
Tue Sep 8 06:07:29 UTC 2020


> >> Also "info usb" just shows a single device. I just copied these lines
> >> from a normal libvirt SCSI setup with two cdroms.
> > 
> > That is normal, it actually is only one usb device after all ;)
> I was referring to the posted usb-bot example, where "your" docs
> (<qemu>/docs/usb-storage.txt) says it supports multiple LUNs, so I was
> wondering, how these would be exposed on the USB bus.

You can't see that on the USB bus.  usb-bot/usb-storage is a scsi host
adapter, with some limitations (only one target, 15 luns max and luns
can't be sparse).  You just have to set the LUN in the scsi commands to
address the device you want.

> All fine. I've spent my time on this. I just want to fix my LibreOffice
> Windows Arm64 cross-build and need an install to debug my obviously
> existing errors, but the current Windows installer ISOs even break
> somewhere in the initial ramdisk setup in QEMU and the older versions
> have timeouts, if current uup-based images are even correctly generated
> on Linux, which I have no way to verify.

FYI; You can simply copy all the files from the iso to a (virtual) usb
stick and use that to boot the windows installer.

take care,

More information about the libvir-list mailing list