|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libxl regression: don't require vncpasswd
# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1298056031 0
# Node ID dac86c85222e6a6b067bf7208a57d96fb3e6f57a
# Parent d210f43decdf4ced25159b4d071493cc73030a7d
libxl regression: don't require vncpasswd when password is empty string
Don't require an empty password when the guest config file
has the entry
vncpasswd=''
Instead, do not require a password at all in this case.
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
diff -r d210f43decdf -r dac86c85222e tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c Fri Feb 18 15:32:02 2011 +0000
+++ b/tools/libxl/libxl_dm.c Fri Feb 18 19:07:11 2011 +0000
@@ -74,7 +74,7 @@
} else {
vncarg = "127.0.0.1:0";
}
- if (info->vncpasswd)
+ if (info->vncpasswd && (info->vncpasswd[0] != '\0'))
vncarg = libxl__sprintf(gc, "%s,password", vncarg);
flexarray_append(dm_args, "-vnc");
flexarray_append(dm_args, vncarg);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] libxl regression: don't require vncpasswd when password is empty string,
Xen patchbot-unstable <=
|
|
|
|
|