From: Anthony Liguori <anthony@codemonkey.ws>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: xen-devel@lists.xensource.com,
"Daniel P. Berrange" <berrange@redhat.com>
Subject: Re: Re: [PATCH] qemu vnc updates
Date: Tue, 26 Feb 2008 13:20:45 -0600 [thread overview]
Message-ID: <47C4668D.1040509@codemonkey.ws> (raw)
In-Reply-To: <47C452BC.2030100@eu.citrix.com>
Stefano Stabellini wrote:
> Anthony Liguori wrote:
>> You mean realvnc? The race condition is due to it's use of
>> SetPixelFormat. By slowing the updates, what you're really doing is
>> just working around that race condition. That's not a proper
>> solution though.
>>
>> This goes away if you set the realvnc options so that it doesn't
>> change the pixel format from what the server specifies.
>>
>
> I think that the realvnc "bug" is due to the fact that they assume
> that if they don't send any update requests, they shouldn't expect any.
> This is not a wrong assumption to make unless you are right about the
> 1 request -> N reply argument (I still think that this is not what the
> rfb spec says).
Regardless of whether you interpret the spec to allow 1 req -> N
replies, the spec is clear that each multiple requests can result in a
single reply. The requests/replies aren't sequenced though so you have
no way of knowing what reply the request is in response too. For
instance, consider the following:
Request => Reply
Request => Reply
Request =>
Request => Reply
Request => Reply
This is entirely indistinguishable from:
Request => Reply
Request => Reply
Request =>
Request =>
Request => Reply
=> Reply
Because the requests and replies don't carry any sort of sequence number.
Regards,
Anthony Liguori
> Besides my patch doesn't slow down the connection so much, I cannot
> tell the difference on a quick connections. I'll let you know what is
> the behaviour on a slow connection.
prev parent reply other threads:[~2008-02-26 19:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 11:24 [PATCH] qemu vnc updates Stefano Stabellini
2008-02-26 16:15 ` Anthony Liguori
2008-02-26 16:22 ` Daniel P. Berrange
2008-02-26 16:34 ` Stefano Stabellini
2008-02-26 17:29 ` Anthony Liguori
2008-02-26 17:56 ` Stefano Stabellini
2008-02-26 19:20 ` Anthony Liguori [this message]
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=47C4668D.1040509@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=berrange@redhat.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.