提交 fa33c0b8 编写于 作者: J Jim Fehlig

libxl: support VNC passwd

While implementing support for SPICE, I noticed VNC passwd was
never copied to libxl_device_vfb's vnc.passwd field.
Signed-off-by: NJim Fehlig <jfehlig@suse.com>
上级 4b2b53f6
...@@ -1283,6 +1283,8 @@ libxlMakeVfb(virPortAllocatorPtr graphicsports, ...@@ -1283,6 +1283,8 @@ libxlMakeVfb(virPortAllocatorPtr graphicsports,
if (VIR_STRDUP(x_vfb->vnc.listen, listenAddr) < 0) if (VIR_STRDUP(x_vfb->vnc.listen, listenAddr) < 0)
return -1; return -1;
} }
if (VIR_STRDUP(x_vfb->vnc.passwd, l_vfb->data.vnc.auth.passwd) < 0)
return -1;
if (VIR_STRDUP(x_vfb->keymap, l_vfb->data.vnc.keymap) < 0) if (VIR_STRDUP(x_vfb->keymap, l_vfb->data.vnc.keymap) < 0)
return -1; return -1;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册