Skip to contentSkip to conversation

vnc patch queue

GIT PULL Applied Gerd Hoffmann 2 participants 4 messages Sep 18, 2014

lore
Share & tools
lore
#1 lore raw

[Qemu-devel] [PULL 1/2] ui/vnc: set TCP_NODELAY

In reply to Gerd Hoffmann

From: Peter Lieven <[email protected]>

we currently have the Nagle algorithm enabled for all outgoing VNC updates. This may delay sensitive updates as mouse movements or typing in the console. As we currently prepare all data in a buffer and then send as much as we can disabling the Nagle algorithm should not cause big trouble. Well established VNC servers like TightVNC set TCP_NODELAY as well.
A regular framebuffer update request generates exactly one framebuffer update which should be pushed out as fast as possible.

---
 ui/vnc.c | 1 +
 1 file changed, 1 insertion(+)
ui/vnc.c +1 -0
index f8d9b7d..0fe6eff 100644
@@ -2914,6 +2914,7 @@ static void vnc_listen_read(void *opaque, bool websocket)
     }
 
     if (csock != -1) {
+        socket_set_nodelay(csock);
         vnc_connect(vs, csock, false, websocket);
     }
 }
Signature · 1 line
1.8.3.1
#2 lore raw

[Qemu-devel] [PULL 2/2] vnc-tls: Clean up dead store in vnc_set_x509_credential()

In reply to Gerd Hoffmann

From: Markus Armbruster <[email protected]>

---
 ui/vnc-tls.c | 2 --
 1 file changed, 2 deletions(-)
ui/vnc-tls.c +0 -2
index 6392326..0f59f9b 100644
@@ -444,8 +444,6 @@ static int vnc_set_x509_credential(VncDisplay *vd,
     struct stat sb;
 
     g_free(*cred);
-    *cred = NULL;
-
     *cred = g_malloc(strlen(certdir) + strlen(filename) + 2);
 
     strcpy(*cred, certdir);
Signature · 1 line
1.8.3.1
#0 lore raw

Hi,

Two little vnc patches.

please pull,
Gerd

The following changes since commit e4d50d47a9eb15f42bdd561803a29a4d7c3eb8ec:

qemu-char: Rename register_char_driver_qapi() to register_char_driver() (2014-09-16 23:36:32 +0100)

are available in the git repository at:

git://git.kraxel.org/qemu tags/pull-vnc-20140918-1

for you to fetch changes up to 9d64fab42274fb50a39bab184f79d0239596ba4a:

vnc-tls: Clean up dead store in vnc_set_x509_credential() (2014-09-18 08:01:53 +0200)

----------------------------------------------------------------
vnc: set TCP_NODELAY, cleanup in tlc code

----------------------------------------------------------------
Markus Armbruster (1):
vnc-tls: Clean up dead store in vnc_set_x509_credential()

Peter Lieven (1):
ui/vnc: set TCP_NODELAY

 ui/vnc-tls.c | 2 --
 ui/vnc.c     | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)
#3 lore raw
Quoted 26 lines · Gerd Hoffmann

Hi,

Two little vnc patches.

please pull,
Gerd

The following changes since commit e4d50d47a9eb15f42bdd561803a29a4d7c3eb8ec:

qemu-char: Rename register_char_driver_qapi() to register_char_driver() (2014-09-16 23:36:32 +0100)

are available in the git repository at:

git://git.kraxel.org/qemu tags/pull-vnc-20140918-1

for you to fetch changes up to 9d64fab42274fb50a39bab184f79d0239596ba4a:

vnc-tls: Clean up dead store in vnc_set_x509_credential() (2014-09-18 08:01:53 +0200)

----------------------------------------------------------------
vnc: set TCP_NODELAY, cleanup in tlc code

----------------------------------------------------------------
Markus Armbruster (1):
vnc-tls: Clean up dead store in vnc_set_x509_credential()

Quoted 6 lines

Peter Lieven (1):
ui/vnc: set TCP_NODELAY

 ui/vnc-tls.c | 2 --
 ui/vnc.c     | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

Applied, thanks.

-- PMM