mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
4b2b53f674
commit
fa33c0b8af
@ -1283,6 +1283,8 @@ libxlMakeVfb(virPortAllocatorPtr graphicsports,
|
||||
if (VIR_STRDUP(x_vfb->vnc.listen, listenAddr) < 0)
|
||||
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)
|
||||
return -1;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user