summary refs log tree commit diff stats
path: root/scripts/tracetool/backend
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-09-29 16:45:39 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-10-13 09:22:30 +0200
commit90cd03a30ee96779ee9ae36a84b387452e256358 (patch)
tree086ddbc6183c4e0ec975a1f72ca5bf764cf6f217 /scripts/tracetool/backend
parent2df2041036ee63ff9116631c6214e3ffb5f4bf45 (diff)
downloadfocaccia-qemu-90cd03a30ee96779ee9ae36a84b387452e256358.tar.gz
focaccia-qemu-90cd03a30ee96779ee9ae36a84b387452e256358.zip
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>
Diffstat (limited to 'scripts/tracetool/backend')
0 files changed, 0 insertions, 0 deletions