Re: [PATCH v2 14/18] util/timer: avoid deadlock when shutting down

2024-09-30 Thread Alex Bennée
Michael Tokarev writes: > On 16.09.2024 11:53, Alex Bennée wrote: >> When we shut down a guest we disable the timers. However this can >> cause deadlock if the guest has queued some async work that is trying >> to advance system time and spins forever trying to wind time forward. >> Pay attention

Re: [PATCH v2 14/18] util/timer: avoid deadlock when shutting down

2024-09-30 Thread Michael Tokarev
On 16.09.2024 11:53, Alex Bennée wrote: When we shut down a guest we disable the timers. However this can cause deadlock if the guest has queued some async work that is trying to advance system time and spins forever trying to wind time forward. Pay attention to the return code and bail early if

Re: [PATCH v2 14/18] util/timer: avoid deadlock when shutting down

2024-09-18 Thread Pierrick Bouvier
On 9/16/24 01:53, Alex Bennée wrote: When we shut down a guest we disable the timers. However this can cause deadlock if the guest has queued some async work that is trying to advance system time and spins forever trying to wind time forward. Pay attention to the return code and bail early if we

[PATCH v2 14/18] util/timer: avoid deadlock when shutting down

2024-09-16 Thread Alex Bennée
When we shut down a guest we disable the timers. However this can cause deadlock if the guest has queued some async work that is trying to advance system time and spins forever trying to wind time forward. Pay attention to the return code and bail early if we can't wind time forward. Signed-off-by