[Spice-devel] [PATCH spice-server 2/2] QXL devices must be registered before Stream Devices

Frediano Ziglio fziglio at redhat.com
Wed Feb 13 14:19:41 UTC 2019


> 
> Stream devices assume that all QXL devices are registered with the
> server before we receive any communications from the stream device. This
> is due to the fact that QXL display channel IDs are assigned directly
> from the QXL device ID, whereas Stream display channels are assigned
> channel IDs based on the next free ID. If the stream channel is
> created first, it will find that 0 is the first available display ID and
> use that for its channel ID. Then when QXL device #0 is registered, it
> will also create a display channel with channel ID 0, and they will
> conflict.

Interesting, should not be checked somewhere and detected as API violation?

Frediano


More information about the Spice-devel mailing list