[Spice-devel] [RFC PATCH spice v3 1/3] QXL interface: add a function to identify monitors in the guest

Gerd Hoffmann kraxel at redhat.com
Thu Nov 8 06:49:27 UTC 2018


  Hi,

> + * The device_display_id_{start,count} denotes the sequence of device display
> + * IDs that map to the zero-based sequence of monitor IDs provided by monitors
> + * config on this interface. For example with device_display_id_start = 2 and
> + * device_display_id_count = 3 you get the following mapping:
> + * monitor_id  ->  device_display_id
> + *          0  ->  2
> + *          1  ->  3
> + *          2  ->  4
> + *
> + * Note this example is unsupported in practice. The only supported cases are
> + * either a single device display ID (count = 1) or multiple device display IDs
> + * in a sequence starting from 0.

This is confusing.  The usage of this api in the qemu counterpart looks
sane though.

cheers,
  Gerd



More information about the Spice-devel mailing list