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:17 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-10-21 15:46:14 +0200
commit864a024c69da2bcf77ecfd0d8bd77f628ded5ba0 (patch)
treeb802119956cb3b4211a992752d247eb71a25bccf /ui/spice-module.c
parent08ad262643bb925e7f0437630f81b6d1f3acd936 (diff)
downloadfocaccia-qemu-864a024c69da2bcf77ecfd0d8bd77f628ded5ba0.tar.gz
focaccia-qemu-864a024c69da2bcf77ecfd0d8bd77f628ded5ba0.zip
spice: move display_add_client() to QemuSpiceOps.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20201019075224.14803-8-kraxel@redhat.com
Diffstat (limited to 'ui/spice-module.c')
-rw-r--r--ui/spice-module.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/spice-module.c b/ui/spice-module.c
index 299aeb479b..8fbc99c03c 100644
--- a/ui/spice-module.c
+++ b/ui/spice-module.c
@@ -52,10 +52,17 @@ static int qemu_spice_set_pw_expire_stub(time_t expires)
     return -1;
 }
 
+static int qemu_spice_display_add_client_stub(int csock, int skipauth,
+                                              int tls)
+{
+    return -1;
+}
+
 struct QemuSpiceOps qemu_spice = {
     .init         = qemu_spice_init_stub,
     .display_init = qemu_spice_display_init_stub,
     .migrate_info = qemu_spice_migrate_info_stub,
     .set_passwd   = qemu_spice_set_passwd_stub,
     .set_pw_expire = qemu_spice_set_pw_expire_stub,
+    .display_add_client = qemu_spice_display_add_client_stub,
 };