mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
vz: remove exlicitly setting zeros in dumping graphics
Allocation will do this job. Also we don't use the explicit setting in other places. Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
This commit is contained in:
parent
e325c997a8
commit
4698b4e65c
@ -1196,10 +1196,6 @@ prlsdkAddVNCInfo(PRL_HANDLE sdkdom, virDomainDefPtr def)
|
|||||||
gr->data.vnc.autoport = (vncMode == PRD_AUTO);
|
gr->data.vnc.autoport = (vncMode == PRD_AUTO);
|
||||||
gr->type = VIR_DOMAIN_GRAPHICS_TYPE_VNC;
|
gr->type = VIR_DOMAIN_GRAPHICS_TYPE_VNC;
|
||||||
gr->data.vnc.port = port;
|
gr->data.vnc.port = port;
|
||||||
gr->data.vnc.keymap = NULL;
|
|
||||||
gr->data.vnc.auth.passwd = NULL;
|
|
||||||
gr->data.vnc.auth.expires = false;
|
|
||||||
gr->data.vnc.auth.connected = 0;
|
|
||||||
|
|
||||||
if (VIR_ALLOC(gr->listens) < 0)
|
if (VIR_ALLOC(gr->listens) < 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
Reference in New Issue
Block a user