Re: infinite loop in xenstat_qmp.c

2021-01-22 Thread Reiser, Hans
Dear Andrew, Thanks for picking this up. Sure, I agree with your proposal. Cheers, Hans > On 2021-01-22, at 14:25, Andrew Cooper wrote: > > On 09/11/2020 14:36, Reiser, Hans wrote: >> Hi, >> >> I have seen several occasions with "dead" xentop processes con

infinite loop in xenstat_qmp.c

2020-11-09 Thread Reiser, Hans
Hi, I have seen several occasions with "dead" xentop processes consuming 100% CPU time, and tracked this down to the following problem: When the QEMU process the qmp_read function is communicating with terminates, qmp_read may enter an infinite loop: poll signals EOF (POLLIN and POLLHUP set),