From 93a2fb230a012ed7ba04f27ac4a00330a45205ff Mon Sep 17 00:00:00 2001
From: Pavel Hrdina
Date: Wed, 8 Jun 2016 15:15:54 +0200
Subject: [PATCH] vnc: add support for listen type none
Signed-off-by: Pavel Hrdina
---
docs/formatdomain.html.in | 3 +-
src/conf/domain_conf.c | 3 +-
src/qemu/qemu_command.c | 3 ++
.../qemuxml2argv-graphics-vnc-none.args | 20 +++++++++++++
.../qemuxml2argv-graphics-vnc-none.xml | 30 +++++++++++++++++++
tests/qemuxml2argvtest.c | 1 +
6 files changed, 58 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-none.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-none.xml
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index cf983ca042..fb3ec5ee3e 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -5384,7 +5384,8 @@ qemu-kvm -net nic,model=? /dev/null
virDomainOpenGraphicsFD(). No other listen types are allowed if this
one is used and the graphics device doesn't listen anywhere. You need
to use one of the two APIs to pass a FD to QEMU in order to connect to
- this graphics device. Supported by graphics type spice.
+ this graphics device. Supported by graphics type vnc and
+ spice.