diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-12 13:45:40 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-29 10:43:19 +0100 |
commit | 60e94e4397f62703ec77caa290610d99349f7e35 (patch) | |
tree | caf171fac9fe31f4fd6548773f4421ed2e99f0e5 /tests/acpi-utils.h | |
parent | b312532fd03413d0e6ae6767ec793a3e30f487b8 (diff) |
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
Diffstat (limited to 'tests/acpi-utils.h')
0 files changed, 0 insertions, 0 deletions