spice: add qemu_spice_display_init_common
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 20 Jul 2011 09:20:51 +0000 (12:20 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Aug 2011 10:43:49 +0000 (12:43 +0200)
commitb1cde2f90c1a19af24a9e05974b59fa0f04ebeb7
treea640ffbf03a08e60d1f1bff2258467c30e9fda58
parent006c7ef3a4c7accf668111431ff513528874f932
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