aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_qmp.c
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2012-06-08 16:09:00 +0100
committerAnthony PERARD <anthony.perard@citrix.com>2012-06-08 16:09:00 +0100
commit2ca8e441456a78e94036ba4f21765aa5dd2fd436 (patch)
tree036f0e1d1a266640ed9bd21ce1c503d853b4f056 /tools/libxl/libxl_qmp.c
parent1dedb82654ef936f189813e5002af825d81e9b1c (diff)
downloadxen-2ca8e441456a78e94036ba4f21765aa5dd2fd436.tar.gz
xen-2ca8e441456a78e94036ba4f21765aa5dd2fd436.tar.bz2
xen-2ca8e441456a78e94036ba4f21765aa5dd2fd436.zip
libxl: Store VNC passwd in xenstore with QEMU upstream.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_qmp.c')
-rw-r--r--tools/libxl/libxl_qmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c
index ce9ab758a8..e33b130f00 100644
--- a/tools/libxl/libxl_qmp.c
+++ b/tools/libxl/libxl_qmp.c
@@ -928,6 +928,7 @@ int libxl__qmp_initializations(libxl__gc *gc, uint32_t domid,
ret = libxl__qmp_query_serial(qmp);
if (!ret && vnc && vnc->passwd) {
ret = qmp_change(gc, qmp, "vnc", "password", vnc->passwd);
+ qmp_write_domain_console_item(gc, domid, "vnc-pass", vnc->passwd);
}
if (!ret) {
ret = qmp_query_vnc(qmp);