diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-05-16 12:45:29 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-06-06 20:18:35 +0200 |
| commit | f250a42ddaee042ad2eb02022a3ebd18fcf987de (patch) | |
| tree | bb2c0a70e07002bebd2331c9f57d47442be3aed0 /scripts/qapi.py | |
| parent | 7e6478e7d4f2c4b607069bf488d57089a9d3244b (diff) | |
| download | focaccia-qemu-f250a42ddaee042ad2eb02022a3ebd18fcf987de.tar.gz focaccia-qemu-f250a42ddaee042ad2eb02022a3ebd18fcf987de.zip | |
nbd: strict nbd_wr_syncv
nbd_wr_syncv is called either from coroutine or from client negotiation code, when socket is in blocking mode. So, -EAGAIN is impossible. Furthermore, EAGAIN is confusing, as, what to read/write again? With EAGAIN as a return code we don't know how much data is already read or written by the function, so in case of EAGAIN the whole communication is broken. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20170516094533.6160-2-vsementsov@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions