summary refs log tree commit diff stats
path: root/scripts/decodetree.py
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-10-12 13:45:40 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-10-29 10:43:19 +0100
commit60e94e4397f62703ec77caa290610d99349f7e35 (patch)
treecaf171fac9fe31f4fd6548773f4421ed2e99f0e5 /scripts/decodetree.py
parentb312532fd03413d0e6ae6767ec793a3e30f487b8 (diff)
downloadfocaccia-qemu-60e94e4397f62703ec77caa290610d99349f7e35.tar.gz
focaccia-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 'scripts/decodetree.py')
0 files changed, 0 insertions, 0 deletions