Anthony PERARD
2012-May-21 18:24 UTC
[PATCH] libxl: Store VNC passwd in xenstore with QEMU upstream.
This patch stores the VNC password in xenstore after it has been sent to QEMU. This will be usefull with the vncviewer command with --autopass. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- tools/libxl/libxl_qmp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c index ce9ab75..e33b130 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); -- Anthony PERARD
Ian Jackson
2012-Jun-08 15:16 UTC
Re: [PATCH] libxl: Store VNC passwd in xenstore with QEMU upstream.
Anthony PERARD writes ("[Xen-devel] [PATCH] libxl: Store VNC passwd in xenstore with QEMU upstream."):> This patch stores the VNC password in xenstore after it has been sent to QEMU. > This will be usefull with the vncviewer command with --autopass. > > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>