libxl: Store VNC passwd in xenstore with QEMU upstream.
PATCH 1/1 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 <[email protected]>
--- tools/libxl/libxl_qmp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
tools/libxl/libxl_qmp.c +1 -0
@@ -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);
Signature · 1 line
Anthony PERARD
Anthony PERARD writes ("[Xen-devel] [PATCH] libxl: Store VNC passwd in xenstore with QEMU upstream."):
Quoted 4 lines
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 <[email protected]>
Committed-by Ian Jackson <[email protected]>