Message ID | 1470238522-28094-4-git-send-email-kraxel@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/ui/vnc.c b/ui/vnc.c index f2f5dc1..4ce9034 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -3150,6 +3150,9 @@ void vnc_display_init(const char *id) if (!vs->kbd_layout) exit(1); + vs->share_policy = VNC_SHARE_POLICY_ALLOW_EXCLUSIVE; + vs->connections_limit = 32; + qemu_mutex_init(&vs->mutex); vnc_start_worker_thread();