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
..
2017-07-14 11:04:33 +02:00
2018-01-16 14:54:52 +01:00
2018-05-04 18:05:50 +01:00
2017-12-18 17:07:03 +03:00
2018-06-08 13:15:33 +01:00
2018-02-16 12:14:26 +11:00
2017-07-14 11:04:33 +02:00
2018-04-26 13:57:00 +01:00
2017-07-14 11:04:33 +02:00
2018-03-23 18:26:45 +00:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2017-07-14 11:04:33 +02:00
2018-06-01 15:14:31 +02:00
2018-06-01 14:15:10 +02:00
2017-07-14 11:04:33 +02:00
2017-06-02 11:33:52 +04:00
2018-03-12 16:12:47 +01:00
2018-06-29 15:04:18 +01:00
2017-07-14 11:04:33 +02:00
2018-03-08 15:49:23 +01:00
2018-03-08 15:49:23 +01:00
2018-04-26 13:57:00 +01:00
2017-10-15 05:54:43 +03:00
2018-07-16 16:58:16 +02:00
2018-06-01 14:15:10 +02:00
2017-11-22 15:28:37 +11:00
2018-02-22 15:12:51 +00:00
2018-01-12 13:22:02 +01:00
2018-06-29 15:04:18 +01:00
2018-03-02 13:45:50 -06:00
2018-04-09 17:35:46 +03:00
2018-05-22 11:43:21 -07:00
2017-07-14 11:04:33 +02:00