[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 52c18be] When using stdio monitor and VNC display
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 52c18be] When using stdio monitor and VNC display, one canset or clear a VNC password; this should set or turn off VNC authentication as well. |
Date: |
Thu, 27 Aug 2009 22:03:58 -0000 |
From: Zachary Amsden <address@hidden>
Signed-off-by: Zachary Amsden <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/vnc.c b/vnc.c
index 9dbe82a..5eaef6a 100644
--- a/vnc.c
+++ b/vnc.c
@@ -2274,6 +2274,11 @@ int vnc_display_password(DisplayState *ds, const char
*password)
if (password && password[0]) {
if (!(vs->password = qemu_strdup(password)))
return -1;
+ if (vs->auth == VNC_AUTH_NONE) {
+ vs->auth = VNC_AUTH_VNC;
+ }
+ } else {
+ vs->auth = VNC_AUTH_NONE;
}
return 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 52c18be] When using stdio monitor and VNC display, one canset or clear a VNC password; this should set or turn off VNC authentication as well.,
Anthony Liguori <=