[Spice-devel] [RFC PATCH v2 00/20] Monitor ID rework

Gerd Hoffmann kraxel at redhat.com
Thu Aug 23 20:42:30 UTC 2018


  Hi,

> "we only support" seems to just state the use cases before adding
> vGPU but we are trying to support vGPU cases.
> If even we decide that for vGPU cards we always have monitor_id == 0

Yes, we want this for sure.  One channel per display.

> (that is multiple DisplayChannels for each vGPU) we still have the
> issue of id matching with the agent which these patches are trying to
> deal with.

Yes.  *That* is the underlying problem.  There is no guest-visible link
between display device and spice channel.  Except when the device is
qxl, because qxl has a channel-id field somewhere (in qxl rom IIRC)
which the guest can read.

And it is not limited to vGPU.  Try place two emulated display devices
into one guest (not using qxl).  You'll face the very same issue.

Placing both channel_id and monitor_id into the messages isn't going to
solve this.

cheers,
  Gerd



More information about the Spice-devel mailing list