On 10/12/16 16:30, Pierre Ossman wrote:

There are two ways to fix this:

 a) Send an update to the client when the assumption doesn't hold. This
will most likely be difficult in your case since there is no definite
point where you can assume a LED change event should have occurred.

 b) Remove the assumption from the code and the protocol.

My vote is for b). Assumptions and side effects are rarely a good idea.
The downside though is that it will break compatibility with older
versions of QEMU.


Follow-up: Reading the initial proposal, it does indeed seem that b) was the intended behaviour:

https://www.mail-archive.com/[email protected]/msg165162.html

Regards
--
Pierre Ossman           Software Development
Cendio AB               https://cendio.com
Teknikringen 8          https://twitter.com/ThinLinc
583 30 Linköping        https://facebook.com/ThinLinc
Phone: +46-13-214600    https://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Reply via email to