Re: [Qemu-devel] [PULL 3/5] serial: change retry logic to avoid concurrency

2014-07-24 Thread Paolo Bonzini
Il 24/07/2014 14:57, Pavel Hrdina ha scritto: > On 14.7.2014 17:49, Paolo Bonzini wrote: >> From: Kirill Batuzov >> >> Whenever serial_xmit fails to transmit a byte it adds a watch that would >> call it again when the "line" becomes ready. This results in a retry >> chain: >> serial_xmit -> add_

Re: [Qemu-devel] [PULL 3/5] serial: change retry logic to avoid concurrency

2014-07-24 Thread Pavel Hrdina
On 14.7.2014 17:49, Paolo Bonzini wrote: > From: Kirill Batuzov > > Whenever serial_xmit fails to transmit a byte it adds a watch that would > call it again when the "line" becomes ready. This results in a retry > chain: > serial_xmit -> add_watch -> serial_xmit > Each chain is able to transmit

[Qemu-devel] [PULL 3/5] serial: change retry logic to avoid concurrency

2014-07-14 Thread Paolo Bonzini
From: Kirill Batuzov Whenever serial_xmit fails to transmit a byte it adds a watch that would call it again when the "line" becomes ready. This results in a retry chain: serial_xmit -> add_watch -> serial_xmit Each chain is able to transmit one character, and for every character passed to seria