Home
last modified time | relevance | path

Searched hist:"90 cd03a30ee96779ee9ae36a84b387452e256358" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/ui/
H A Dvnc.hdiff 90cd03a30ee96779ee9ae36a84b387452e256358 Thu Sep 29 10:45:39 CDT 2016 Daniel P. Berrange <berrange@redhat.com> ui: move some initialization out of vnc_init_state

Most of the fields in VncState are initialized in the
vnc_connect() method, but some are done in vnc_init_state()
instead.

The purpose of having vnc_init_state() is to delay starting
of the VNC wire protocol until after the websockets handshake
has completed. As such the vnc_init_state() method only needs
to be used for initialization that is dependant on the wire
protocol running.

This also lets us get rid of the initialized boolean flag
from the VncState struct.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1475163940-26094-9-git-send-email-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
H A Dvnc.cdiff 90cd03a30ee96779ee9ae36a84b387452e256358 Thu Sep 29 10:45:39 CDT 2016 Daniel P. Berrange <berrange@redhat.com> ui: move some initialization out of vnc_init_state

Most of the fields in VncState are initialized in the
vnc_connect() method, but some are done in vnc_init_state()
instead.

The purpose of having vnc_init_state() is to delay starting
of the VNC wire protocol until after the websockets handshake
has completed. As such the vnc_init_state() method only needs
to be used for initialization that is dependant on the wire
protocol running.

This also lets us get rid of the initialized boolean flag
from the VncState struct.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1475163940-26094-9-git-send-email-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>