[Spice-devel] [spice-gtk v4 00/13] CD sharing feature

Gerd Hoffmann kraxel at redhat.com
Tue Sep 18 13:48:45 UTC 2018


On Tue, Sep 18, 2018 at 02:52:27PM +0400, Marc-André Lureau wrote:
> Hi
> 
> On Mon, Sep 17, 2018 at 5:24 PM Yuri Benditovich
> <yuri.benditovich at daynix.com> wrote:
> >
> > This series of patches adds ability to share ISO files or
> > local CD devices with guest system using USB redirection
> > by emulation of USB CD device.
> 
> and DVD, I guess.
> 
> How much of this "new" emulation code overlaps with existing USB code in QEMU ?

What exactly is it doing?

> >  src/channel-usbredir-priv.h   |    9 +-
> >  src/channel-usbredir.c        |  267 ++--

Looks like it uses the usb redirection channel, correct?

Hmm, so it isn't only usb emulation, but also scsi emulation duplicated
in spice-client.  Why this route?  Wouldn't it be simpler to run nbd
over spice-chardev, then hook up the iso as blockdev in qemu?  Which
you then can attach to any cdrom emulation (ide/sata/scsi/usb) in qemu?

cheers,
  Gerd



More information about the Spice-devel mailing list