[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions t
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest |
Date: |
Mon, 5 Nov 2018 07:52:58 +0100 |
User-agent: |
NeoMutt/20180716 |
> 2. Have a single function as follows:
>
> void spice_qxl_set_device_info(QXLInstance *instance,
> const char *device_address,
> uint32_t device_display_id_start,
> uint32_t device_display_id_count);
How about:
void spice_qxl_set_device_info(QXLInstance *instance,
const char *device_address,
uint32_t device_display_id);
I don't think we need start+count:
* For single-head devices device_display_id will be zero.
* For one-channel-per-head multihead devices (i.e. virtio-gpu)
device_display_id will enumerate the heads (so everybody can figure
which channel is which head).
* For one-channel-per-device multihead devices (i.e. qxl/linux)
device_display_id will be zero too. Number of heads is set via
spice_qxl_set_max_monitors().
cheers,
Gerd
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Lukáš Hrázký, 2018/11/01
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest,
Gerd Hoffmann <=
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Frediano Ziglio, 2018/11/05
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Lukáš Hrázký, 2018/11/05
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Frediano Ziglio, 2018/11/05
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Gerd Hoffmann, 2018/11/05
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Lukáš Hrázký, 2018/11/05
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Frediano Ziglio, 2018/11/05
- Re: [Qemu-devel] [RFC PATCH spice v2 1/2] QXL interface: add functions to identify monitors in the guest, Gerd Hoffmann, 2018/11/06