[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/char/pl011: Output characters using best-effort mode
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] hw/char/pl011: Output characters using best-effort mode |
Date: |
Fri, 21 Feb 2020 19:15:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
On 21/02/20 14:14, Peter Maydell wrote:
> The initial case reported by Gavin in this thread is
> "-serial tcp:127.0.0.1:50900" with the other end being a program which
> listens on TCP port 50900 and then sleeps without accepting any incoming
> connections, which blocks the serial port output and effectively blocks
> the guest bootup. If you want to insulate the guest from badly
> behaved consumers like that (or the related consumer who accepts
> the connection and then just doesn't read data from it) you probably
> need to deal with more than just POLLHUP. But I'm not sure how much
> we should care about these cases as opposed to just telling users
> not to do that...
No, I think we don't do anything (on purpose; that is, it was considered
the lesser evil) for x86 in that case.
Paolo
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, (continued)
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Marc Zyngier, 2020/02/20
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Peter Maydell, 2020/02/20
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Gavin Shan, 2020/02/20
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Marc Zyngier, 2020/02/21
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Peter Maydell, 2020/02/21
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Paolo Bonzini, 2020/02/21
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Peter Maydell, 2020/02/21
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Paolo Bonzini, 2020/02/21
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Peter Maydell, 2020/02/21
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode,
Paolo Bonzini <=
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Gavin Shan, 2020/02/23
- Re: [PATCH] hw/char/pl011: Output characters using best-effort mode, Gavin Shan, 2020/02/23