Re: [Qemu-devel] [PATCH] char: fix handling of QIO_CHANNEL_ERR_BLOCK

2016-02-12 Thread Paolo Bonzini
On 12/02/2016 15:46, Daniel P. Berrange wrote: > If io_channel_send_full gets QIO_CHANNEL_ERR_BLOCK it > and has already sent some of the data, it should return > that amount of data, not EAGAIN, as that would cause > the caller to re-try already sent data. > > Unfortunately due to a previous re

[Qemu-devel] [PATCH] char: fix handling of QIO_CHANNEL_ERR_BLOCK

2016-02-12 Thread Daniel P. Berrange
If io_channel_send_full gets QIO_CHANNEL_ERR_BLOCK it and has already sent some of the data, it should return that amount of data, not EAGAIN, as that would cause the caller to re-try already sent data. Unfortunately due to a previous rebase conflict resolution error, the code for dealing with thi