summary refs log tree commit diff stats
path: root/ui/spice-module.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-10-19 09:52:13 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-10-21 15:46:14 +0200
commit63be30e6d53e78bbe5e21cbf930014ef4844fb31 (patch)
treec21989c2142805f241c33b7a368009c98b44c96b /ui/spice-module.c
parent7477477ca7bbf42588575039edcac852fbdb1d75 (diff)
downloadfocaccia-qemu-63be30e6d53e78bbe5e21cbf930014ef4844fb31.tar.gz
focaccia-qemu-63be30e6d53e78bbe5e21cbf930014ef4844fb31.zip
spice: move qemu_spice_init() to QemuSpiceOps.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20201019075224.14803-4-kraxel@redhat.com
Diffstat (limited to 'ui/spice-module.c')
-rw-r--r--ui/spice-module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/spice-module.c b/ui/spice-module.c
index f1939545a6..a30fa452ea 100644
--- a/ui/spice-module.c
+++ b/ui/spice-module.c
@@ -22,6 +22,10 @@
 
 int using_spice;
 
+static void qemu_spice_init_stub(void)
+{
+}
+
 static int qemu_spice_migrate_info_stub(const char *h, int p, int t,
                                         const char *s)
 {
@@ -29,5 +33,6 @@ static int qemu_spice_migrate_info_stub(const char *h, int p, int t,
 }
 
 struct QemuSpiceOps qemu_spice = {
+    .init         = qemu_spice_init_stub,
     .migrate_info = qemu_spice_migrate_info_stub,
 };