spice: fix display initialization
commit58ae52a8dc7752e3da9a905678580b4cb8181cdc
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 22 Jul 2013 13:34:12 +0000 (22 15:34 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Jul 2013 08:25:47 +0000 (30 10:25 +0200)
tree9cca46e13c2b4e5bbe9a30ea6d484949bf882759
parentdbe49aea76a7805f05b33d548b2e543b51fa8bb1
spice: fix display initialization

Spice has two display interface implementations:  One integrated into
the qxl graphics card, and one generic which can operate with every
qemu-emulated graphics card.

The generic one is activated in case spice is used without qxl.  The
logic for that only caught the "-vga qxl" case, "-device qxl-vga" goes
unnoticed.  Fix that by adding a check in the spice interface
registration so we'll notice the qxl card no matter how it is created.

https://bugzilla.redhat.com/show_bug.cgi?id=981094

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