summaryrefslogtreecommitdiff
path: root/vnc.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-20 15:59:24 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-20 15:59:24 +0000
commitc522d0e2dee3774884a731691a702126901a1a88 (patch)
tree3a214688f7148c604774d5f04f8ec985c7b61d1f /vnc.h
parent23decc87cc5e52eb3021cf05b64347b884698b17 (diff)
vnc: throttle screen updates. (Gerd Hoffmann)
This patch makes the vnc server code skip screen refreshes in case there is data in the output buffer. This reduces the refresh rate to throttle the bandwidth needed in case the network link is saturated. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6862 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.h')
-rw-r--r--vnc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnc.h b/vnc.h
index ce9aa49900..3ae95f3d74 100644
--- a/vnc.h
+++ b/vnc.h
@@ -121,6 +121,7 @@ struct VncState
VncDisplay *vd;
int need_update;
+ int force_update;
uint32_t features;
int absolute;
int last_x;