#qemu_rdp = "qemu-rdp"
+# Path to the standalone qemu-vnc VNC server.
+# When available and both <graphics type='dbus'/> and <graphics type='vnc'/>
+# are configured, libvirt will use qemu-vnc instead of QEMU's built-in VNC.
+# If this is not an absolute path, the program will be searched for
+# in $PATH.
+#qemu_vnc = "qemu-vnc"
+
+
# Path to the dbus-daemon
# If this is not an absolute path, the program will be searched for
# in $PATH.
#define QEMU_BRIDGE_HELPER "qemu-bridge-helper"
#define QEMU_PR_HELPER "qemu-pr-helper"
#define QEMU_RDP "qemu-rdp"
+#define QEMU_VNC "qemu-vnc"
#define QEMU_DBUS_DAEMON "dbus-daemon"
cfg->slirpHelperName = g_strdup(QEMU_SLIRP_HELPER);
cfg->dbusDaemonName = g_strdup(QEMU_DBUS_DAEMON);
cfg->qemuRdpName = g_strdup(QEMU_RDP);
+ cfg->qemuVncName = g_strdup(QEMU_VNC);
cfg->securityDefaultConfined = true;
cfg->securityRequireConfined = false;
g_free(cfg->slirpHelperName);
g_free(cfg->dbusDaemonName);
g_free(cfg->qemuRdpName);
+ g_free(cfg->qemuVncName);
g_free(cfg->autoDumpPath);
if (virConfGetValueString(conf, "qemu_rdp", &cfg->qemuRdpName) < 0)
return -1;
+ if (virConfGetValueString(conf, "qemu_vnc", &cfg->qemuVncName) < 0)
+ return -1;
+
if (virConfGetValueBool(conf, "set_process_name", &cfg->setProcessName) < 0)
return -1;
if (virConfGetValueUInt(conf, "max_processes", &cfg->maxProcesses) < 0)
{ "pr_helper" = "qemu-pr-helper" }
{ "slirp_helper" = "/usr/bin/slirp-helper" }
{ "qemu_rdp" = "qemu-rdp" }
+{ "qemu_vnc" = "qemu-vnc" }
{ "dbus_daemon" = "dbus-daemon" }
{ "swtpm_user" = "tss" }
{ "swtpm_group" = "tss" }