diff options
author | Gerd Hoffmann | 2018-10-12 13:45:40 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2018-10-29 10:43:19 +0100 |
commit | 60e94e4397f62703ec77caa290610d99349f7e35 (patch) | |
tree | caf171fac9fe31f4fd6548773f4421ed2e99f0e5 /hw/core/fw-path-provider.c | |
parent | Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (diff) | |
download | qemu-60e94e4397f62703ec77caa290610d99349f7e35.tar.gz qemu-60e94e4397f62703ec77caa290610d99349f7e35.tar.xz qemu-60e94e4397f62703ec77caa290610d99349f7e35.zip |
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 'hw/core/fw-path-provider.c')
0 files changed, 0 insertions, 0 deletions