]> git.proxmox.com Git - qemu.git/commit
spice: fix multihead support
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Oct 2013 20:39:59 +0000 (22:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 17 Oct 2013 10:42:54 +0000 (12:42 +0200)
commit9fa032866daae68357d99abc725c18fe9ed4b61b
tree759b86785e2a11fcd65c743b8afaf25ec725635e
parent35b2122db446a03be9b88f540e865930efd01d6a
spice: fix multihead support

This patch fixes spice display initialization to handle
multihead properly.

spice-core now keeps track of which QemuConsole has a spice
display channel attached to it and which has not.  It also
manages display channel ids.

spice-display looks at all QemuConsoles and will pick up any
graphic console not yet bound to a spice channel (which in practice
are all non-qxl graphic devices).

Result is that
 (a) you'll get a spice client window for each graphical device
     now (first only without this patch), and
 (b) mixing qxl and non-qxl vga cards works properly.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/qxl.c
include/ui/qemu-spice.h
ui/spice-core.c
ui/spice-display.c
vl.c