qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] VNC display support for QEMU
Date: Sat, 29 Apr 2006 23:24:17 -0500	[thread overview]
Message-ID: <44543BF1.60304@codemonkey.ws> (raw)
In-Reply-To: <Pine.LNX.4.63.0604300302440.6731@wbgn013.biozentrum.uni-wuerzburg.de>

Hi Johannes,

Johannes Schindelin wrote:
> Hi,
>
> On Sat, 29 Apr 2006, Anthony Liguori wrote:
>
>   
>> One thing you may notice is that RealVNC has some issues with being
>> disconnected.  This is because it likes to switch from 8bit to 32bit depths
>> automatically at startup.  Unfortunately, there is a race condition in the VNC
>> protocol and since this implementation is asynchronous, we seem to be much
>> more prone to exposing this.
>>     
>
> This, along with other problems, has been solved with LibVNCServer. But of 
> course, you are welcome to solve them again.
>   

I should mention, the majority of the "smarts" of this patch are QEMU 
specific optimizations.  The first one maintains a separate copy of the 
client's framebuffer to use to reduce the size of the updates generated 
by the VGA code.  The second one hooks the Cirrus 2d video-to-video copy 
to generate VNC CopyRect updates.

The actual VNC side of the code is pretty trivial.

I would have been more inclined to use LibVNCServer if it wasn't based 
on threading.  I really wanted an asynchronous implementation of a VNC 
server that didn't depend on threads.

Regards,

Anthony Liguori

> Ciao,
> Dscho
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>   

  reply	other threads:[~2006-04-30  4:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-29 21:34 [Qemu-devel] [PATCH] VNC display support for QEMU Anthony Liguori
2006-04-30  1:03 ` Johannes Schindelin
2006-04-30  4:24   ` Anthony Liguori [this message]
2006-04-30 10:43     ` Johannes Schindelin
2006-04-30 20:14       ` Anthony Liguori
2006-04-30 22:14         ` Christian MICHON
2006-04-30 23:11           ` Christian MICHON
2006-04-30 23:46             ` [Qemu-devel] " Anthony Liguori
2006-04-30 20:57       ` [Qemu-devel] [PATCH] Enhanced Documentation Stefan Weil
2006-05-01  5:02   ` [Qemu-devel] [PATCH] VNC display support for QEMU Troy Benjegerdes
2006-05-01  5:29 ` Troy Benjegerdes
2006-05-01  6:01 ` Brad Campbell
2006-05-01  6:03   ` Brad Campbell
2006-05-01  9:08   ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44543BF1.60304@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).