Searched hist:"60 e94e4397f62703ec77caa290610d99349f7e35" (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/display/ |
H A D | qxl.h | 60e94e4397f62703ec77caa290610d99349f7e35 Fri Oct 12 11:45:40 UTC 2018 Gerd Hoffmann <kraxel@redhat.com> qxl: store channel id in qxl->id
See qemu_spice_add_display_interface(), the console index is also used as channel id. So put that into the qxl->id field too.
In typical use cases (one primary qxl-vga device, optionally one or more secondary qxl devices, no non-qxl display devices) this doesn't change anything.
With this in place the qxl->id can not be used any more to figure whenever a given device is primary (with vga compat mode) or secondary. So add a bool to track this.
Cc: spice-devel@lists.freedesktop.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20181012114540.27829-1-kraxel@redhat.com
|
H A D | qxl.c | 60e94e4397f62703ec77caa290610d99349f7e35 Fri Oct 12 11:45:40 UTC 2018 Gerd Hoffmann <kraxel@redhat.com> qxl: store channel id in qxl->id
See qemu_spice_add_display_interface(), the console index is also used as channel id. So put that into the qxl->id field too.
In typical use cases (one primary qxl-vga device, optionally one or more secondary qxl devices, no non-qxl display devices) this doesn't change anything.
With this in place the qxl->id can not be used any more to figure whenever a given device is primary (with vga compat mode) or secondary. So add a bool to track this.
Cc: spice-devel@lists.freedesktop.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20181012114540.27829-1-kraxel@redhat.com
|