aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xmexample.hvm
diff options
context:
space:
mode:
authorChristian Limpach <Christian.Limpach@xensource.com>2006-10-05 14:53:29 +0100
committerChristian Limpach <Christian.Limpach@xensource.com>2006-10-05 14:53:29 +0100
commit56525bb66945dd24fd23b519ac30359a1a9e6c49 (patch)
treee21ad76718e1743dc5187b899e83a2b1442f9e69 /tools/examples/xmexample.hvm
parent192d7f59564cbcea44000d35e49643d895cdeffd (diff)
downloadxen-56525bb66945dd24fd23b519ac30359a1a9e6c49.tar.gz
xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.tar.bz2
xen-56525bb66945dd24fd23b519ac30359a1a9e6c49.zip
[HVM/vncserver] Implement a 'vnclisten' option to limit the interface
that the VNC server from qemu listens on. Defaults to only listen on 127.0.0.1 The old behaviour (listen on all interfaces) can be restored, by - changing the system-wide default in /etc/xen/xend-config.sxp by adding: (vnc-listen '0.0.0.0') - changing individual domain config files by adding: vnclisten="0.0.0.0" Also allows specifying the hostname associated with an interface to limit to that interface. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tools/examples/xmexample.hvm')
-rw-r--r--tools/examples/xmexample.hvm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm
index 731500225f..cc683d42c2 100644
--- a/tools/examples/xmexample.hvm
+++ b/tools/examples/xmexample.hvm
@@ -132,6 +132,11 @@ sdl=0
vnc=1
#----------------------------------------------------------------------------
+# address that should be listened on for the VNC server if vnc is set.
+# default is to use 'vnc-listen' setting from /etc/xen/xend-config.sxp
+#vnclisten="127.0.0.1"
+
+#----------------------------------------------------------------------------
# set VNC display number, default = domid
#vncdisplay=1