[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 14/18] util/timer: avoid deadlock when shutting down
From: |
Alex Bennée |
Subject: |
Re: [PATCH v2 14/18] util/timer: avoid deadlock when shutting down |
Date: |
Mon, 30 Sep 2024 17:52:24 +0100 |
User-agent: |
mu4e 1.12.6; emacs 29.4 |
Michael Tokarev <mjt@tls.msk.ru> 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 to the return code and bail early if we can't wind time
>> forward.
>
> I wonder if this is another qemu-stable piece?
I guess. The code that causes this particular mode was added to 9.1.
>
> Thanks,
>
> /mjt
--
Alex Bennée
Virtualisation Tech Lead @ Linaro