1 diff -dur -x '*.orig' -x '*.rej' -x '*~' libvirt-2.1.0.orig/src/qemu/qemu_command.c libvirt-2.1.0/src/qemu/qemu_command.c
2 --- libvirt-2.1.0.orig/src/qemu/qemu_command.c 2016-08-02 09:10:56.000000000 +0200
3 +++ libvirt-2.1.0/src/qemu/qemu_command.c 2016-08-17 12:43:29.000000000 +0200
5 /* TODO: Support ACLs later */
9 + virBufferAddLit(&opt, ",acl");
11 virCommandAddArg(cmd, "-vnc");
12 virCommandAddArgBuffer(cmd, &opt);
13 if (graphics->data.vnc.keymap)
14 diff -dur -x '*.orig' -x '*.rej' -x '*~' libvirt-2.1.0.orig/src/qemu/qemu.conf libvirt-2.1.0/src/qemu/qemu.conf
15 --- libvirt-2.1.0.orig/src/qemu/qemu.conf 2016-08-17 12:30:24.000000000 +0200
16 +++ libvirt-2.1.0/src/qemu/qemu.conf 2016-08-17 12:37:00.000000000 +0200
21 +# Enable the VNC access control lists. When switched on this will
22 +# initially block all vnc users from accessing the vnc server. To
23 +# add and remove ids from the ACLs you will need to send the appropriate
24 +# commands to the qemu monitor as required by your particular version of
25 +# QEMU. See the QEMU documentation for more details.
30 # The default SASL configuration file is located in /etc/sasl/
31 # When running libvirtd unprivileged, it may be desirable to
32 # override the configs in this location. Set this parameter to
33 diff -dur -x '*.orig' -x '*.rej' -x '*~' libvirt-2.1.0.orig/src/qemu/qemu_conf.c libvirt-2.1.0/src/qemu/qemu_conf.c
34 --- libvirt-2.1.0.orig/src/qemu/qemu_conf.c 2016-07-27 14:39:35.000000000 +0200
35 +++ libvirt-2.1.0/src/qemu/qemu_conf.c 2016-08-17 12:40:28.000000000 +0200
38 if (virConfGetValueBool(conf, "nographics_allow_host_audio", &cfg->nogfxAllowHostAudio) < 0)
41 + if (virConfGetValueBool(conf, "vnc_acl", &cfg->vncACL) < 0)
44 if (virConfGetValueStringList(conf, "security_driver", true, &cfg->securityDriverNames) < 0)
46 diff -dur -x '*.orig' -x '*.rej' -x '*~' libvirt-2.1.0.orig/src/qemu/qemu_conf.h libvirt-2.1.0/src/qemu/qemu_conf.h
47 --- libvirt-2.1.0.orig/src/qemu/qemu_conf.h 2016-07-27 14:39:35.000000000 +0200
48 +++ libvirt-2.1.0/src/qemu/qemu_conf.h 2016-08-17 12:37:00.000000000 +0200
51 bool vncTLSx509verify;
54 char *vncTLSx509certdir;