spice: add qemu_spice_display_init_common
commita963f876c80e07a195850a6ab243371b6f93756e
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Jul 2011 09:20:51 +0000 (20 12:20 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Aug 2011 10:43:49 +0000 (1 12:43 +0200)
treea640ffbf03a08e60d1f1bff2258467c30e9fda58
parent5c59d118161cccf6952b013f71387515f3c91e0a
spice: add qemu_spice_display_init_common

Factor out SimpleSpiceDisplay initialization into
qemu_spice_display_init_common() and call it from
both qxl.c (for vga mode) and spice-display.c

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