Marc-André Lureau
f3575af130
hw/char/serial: retry write if EAGAIN
If the chardev returns -1 with EAGAIN errno on write(), it should try
to send it again (EINTR is handled by the chardev itself).
This fixes commit 019288bf137183bf3407c9824655b753bfafc99f
"hw/char/serial: Only retry if qemu_chr_fe_write returns 0"
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180716110755.12499-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-07-16 16:58:16 +02:00
..
2018-07-02 15:41:14 +02:00
2018-07-09 14:51:34 +01:00
2018-07-03 11:45:33 +02:00
2018-07-10 14:36:12 +02:00
2018-07-16 16:58:16 +02:00
2018-07-09 21:31:40 +01:00
2018-07-02 15:41:15 +02:00
2018-07-07 12:12:27 +10:00
2018-07-02 15:41:14 +02:00
2018-07-03 09:56:52 +10:00
2018-07-16 16:58:16 +02:00
2018-07-10 14:36:11 +02:00
2018-07-06 18:39:19 +02:00
2018-07-02 15:41:12 +02:00
2018-07-02 15:41:15 +02:00
2018-07-02 15:41:14 +02:00
2018-07-02 15:41:15 +02:00
2018-07-02 19:07:19 +01:00
2018-07-16 16:58:16 +02:00
2018-07-09 14:51:35 +01:00
2018-07-02 15:41:15 +02:00
2018-07-02 15:41:16 +02:00
2018-07-02 15:41:16 +02:00
2018-07-09 14:38:45 +10:00
2018-07-02 15:41:17 +02:00
2018-07-05 15:24:25 -07:00
2018-07-11 14:36:54 +02:00
2018-07-12 18:24:08 +02:00
2018-07-09 14:51:34 +01:00
2018-07-02 15:41:15 +02:00
2018-07-02 15:41:12 +02:00
2018-07-02 19:07:19 +01:00
2018-07-02 19:07:19 +01:00
2018-07-09 14:51:34 +01:00
2018-07-02 15:41:14 +02:00
2018-07-10 14:36:11 +02:00
2018-07-11 13:43:57 -06:00
2018-07-02 15:41:13 +02:00
2018-07-02 15:41:14 +02:00