* [Qemu-devel] Question on QEMU's VNC Server hextile implementation
[not found] <1783738934.1599701260735354287.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
@ 2009-12-13 21:06 ` Yaniv Kaul
2009-12-13 23:53 ` Anthony Liguori
0 siblings, 1 reply; 2+ messages in thread
From: Yaniv Kaul @ 2009-12-13 21:06 UTC (permalink / raw)
To: qemu-devel
According to the RFB protocol, section 6.6.4 (hextile encoding), regarding the 'ForegroundSpecified' bit, it says: 'If this bit is set then the SubrectsColoured bit must be zero.'.
It doesn't seem QEMU's VNC server does that. In fact, it looks like both bits are set.
I've verified against a different VNC server, and I didn't see this happening.
(it may be a Wireshark dissector bug, of course).
TIA,
Y.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Question on QEMU's VNC Server hextile implementation
2009-12-13 21:06 ` [Qemu-devel] Question on QEMU's VNC Server hextile implementation Yaniv Kaul
@ 2009-12-13 23:53 ` Anthony Liguori
0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2009-12-13 23:53 UTC (permalink / raw)
To: Yaniv Kaul; +Cc: qemu-devel
Yaniv Kaul wrote:
> According to the RFB protocol, section 6.6.4 (hextile encoding), regarding the 'ForegroundSpecified' bit, it says: 'If this bit is set then the SubrectsColoured bit must be zero.'.
> It doesn't seem QEMU's VNC server does that. In fact, it looks like both bits are set.
> I've verified against a different VNC server, and I didn't see this happening.
> (it may be a Wireshark dissector bug, of course).
>
Yes, this definitely goes against the wording in the specification.
It's also wasting bits on the wire. I'll work up a patch on Monday.
I checked the real vnc client to make sure it handles this combination
and it does. I think the reason the spec forbids this is that a
SubrectsColoured invalidates the foreground color. Having the two is
therefore not a useful combination because the foreground color won't
actually be used for anything.
We do invalidate the foreground color correctly but we're just sending
out useless data so removing it's a good idea. Thanks for catching this!
Regards,
Anthony Liguori
> TIA,
> Y.
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-13 23:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1783738934.1599701260735354287.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-12-13 21:06 ` [Qemu-devel] Question on QEMU's VNC Server hextile implementation Yaniv Kaul
2009-12-13 23:53 ` Anthony Liguori
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).