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

Gerd Hoffmann kraxel at redhat.com
Tue Aug 28 04:47:52 UTC 2018


  Hi,

> This would work for the channel_id + monitor_id formula, but not for
> the channel_id ? channel_id : monitor_id one. AFAIK channel_id ?
> channel_id : monitor_id is used only in spice-gtk and channel_id +
> monitor_id is used in virt-viewer and spicy.

[ ... ]

> And we still need to fix the other half of the problem, which is the
> guest-side display ID,

Maybe we should look at this other half of the problem first.  It is
pretty clear the protocol must be extended to for this.  Once we have
this we might be able to do

   if (extension-available) {
       display_id = lookup_in_extended_channel_info();
   } else {
       display_id = channel_id ? channel_id : monitor_id;
   }

> and after we do it, AFAICS we still need a compatibility switch
> between the old way the channel_ids were assigned and your new way, as
> they would require a different approach of calculating it?

Ideally the display_id stays the same in configurations which can be
supported today.

cheers,
  Gerd



More information about the Spice-devel mailing list