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

Jan-Marek Glogowski glogow at fbihome.de
Mon Sep 7 12:53:08 UTC 2020


Am 07.09.20 um 13:48 schrieb Daniel P. Berrangé:
> On Mon, Sep 07, 2020 at 01:45:09PM +0200, Gerd Hoffmann wrote:

...

> Switching back to -drive is out of the question. We've worked very hard
> to eliminate its usage and get to an exclusively -blockdev based solution
> because supporting both approaches in parallel complicates too much.

The USB CDROM functionality is currently broken and the patch handles
just that, like the SD card workaround (qemuDiskBusIsSD). The whole
patch is

 src/qemu/qemu_command.c
 src/qemu/qemu_command.h
 src/qemu/qemu_domain.c
 tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.arg
 4 files changed, 28 insertions(+), 8 deletions(-)

I offered my simple fix and don't have the time to implement the
proposed -blockdev based solution, after investigating Gerd's
alternative suggestion for the alternate fix.

That's it, no harm intended.

Jan-Marek

P.S. also, because currently the additional (probably QEMU / edk2) bugs
won't let me fix my LibreOffice build at this state anyway, so it seems
I'm far away from a working environment to fix my real problem.




More information about the libvir-list mailing list