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

Gerd Hoffmann kraxel at redhat.com
Thu Aug 23 20:52:50 UTC 2018


  Hi,

> There's not a new channel type, but there is a new channel, because
> there are two devices. Both the QXL device and the vGPU have their own
> Display channels. 
>  * channel #0 is the QXL device and only displays stuff at boot time
>    (or when switching to a VT)
>  * channel #1 is the nvidia device, which displays the desktop session
>    after X starts

What is channel #1?  The video stream from the guest agent?
What channel is used for the vgpu vnc console?

> Note that X only knows about the nvidia device, and from X's
> perspective, that device had a xrandr id of 0. So when (for example) we
> send mouse events for channel #1 to the vdagent, the vdagent will say:
> I don't know any dislay with id #1, I only know about display #0, and
> it will ignore those events.

Yes.  The guest needs some way to figure which channel is linked to
which device.

cheers,
  Gerd



More information about the Spice-devel mailing list