diff options
author | Cole Robinson <crobinso@redhat.com> | 2011-01-07 16:03:07 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2011-01-21 16:03:04 -0500 |
commit | 1d9c0a08d99888a9aa3609997266f76a5e5f9b12 (patch) | |
tree | af46cd903626c99ff33107efe8e339e9870ccb72 /tests/qemuargv2xmltest.c | |
parent | qemu: Set domain def transient at beginning of startup process (diff) | |
download | libvirt-1d9c0a08d99888a9aa3609997266f76a5e5f9b12.tar.gz libvirt-1d9c0a08d99888a9aa3609997266f76a5e5f9b12.tar.bz2 libvirt-1d9c0a08d99888a9aa3609997266f76a5e5f9b12.zip |
qemu: Allow serving VNC over a unix domain socket
QEMU supports serving VNC over a unix domain socket rather than traditional
TCP host/port. This is specified with:
<graphics type='vnc' socket='/foo/bar/baz'/>
This provides better security access control than VNC listening on
127.0.0.1, but will cause issues with tools that rely on the lax security
(virt-manager in fedora runs as regular user by default, and wouldn't be
able to access a socket owned by 'qemu' or 'root').
Also not currently supported by any clients, though I have patches for
virt-manager, and virt-viewer should be simple to update.
v2:
schema: Make listen vs. socket a <choice>
Diffstat (limited to 'tests/qemuargv2xmltest.c')
-rw-r--r-- | tests/qemuargv2xmltest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemuargv2xmltest.c b/tests/qemuargv2xmltest.c index 8338af331..7499ba06f 100644 --- a/tests/qemuargv2xmltest.c +++ b/tests/qemuargv2xmltest.c @@ -178,6 +178,7 @@ mymain(int argc, char **argv) DO_TEST("disk-drive-network-sheepdog"); DO_TEST("disk-usb"); DO_TEST("graphics-vnc"); + DO_TEST("graphics-vnc-socket"); driver.vncSASL = 1; driver.vncSASLdir = strdup("/root/.sasl2"); |