diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-07-20 12:20:51 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-01 12:43:49 +0200 |
commit | a963f876c80e07a195850a6ab243371b6f93756e (patch) | |
tree | a640ffbf03a08e60d1f1bff2258467c30e9fda58 /ui/spice-display.h | |
parent | 5c59d118161cccf6952b013f71387515f3c91e0a (diff) |
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>
Diffstat (limited to 'ui/spice-display.h')
-rw-r--r-- | ui/spice-display.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/spice-display.h b/ui/spice-display.h index 5b06b11ec5..eb7a573855 100644 --- a/ui/spice-display.h +++ b/ui/spice-display.h @@ -75,6 +75,7 @@ void qemu_spice_create_host_memslot(SimpleSpiceDisplay *ssd); void qemu_spice_create_host_primary(SimpleSpiceDisplay *ssd); void qemu_spice_destroy_host_primary(SimpleSpiceDisplay *ssd); void qemu_spice_vm_change_state_handler(void *opaque, int running, int reason); +void qemu_spice_display_init_common(SimpleSpiceDisplay *ssd, DisplayState *ds); void qemu_spice_display_update(SimpleSpiceDisplay *ssd, int x, int y, int w, int h); |