[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
- Re: [PATCH v2 12/18] tests/tcg: ensure s390x-softmmu output redirected, (continued)
- [PATCH v2 08/18] tests/tcg/plugins/mem: add option to print memory accesses, Alex Bennée, 2024/09/16
- [PATCH v2 01/18] deprecation: don't enable TCG plugins by default on 32 bit hosts, Alex Bennée, 2024/09/16
- [PATCH v2 07/18] tests/tcg: allow to check output of plugins, Alex Bennée, 2024/09/16
- [PATCH v2 18/18] contrib/plugins: avoid hanging program, Alex Bennée, 2024/09/16
- [PATCH v2 14/18] util/timer: avoid deadlock when shutting down, Alex Bennée, 2024/09/16
- [PATCH v2 13/18] tests/tcg: add a system test to check memory instrumentation, Alex Bennée, 2024/09/16
- [PATCH v2 15/18] contrib/plugins: Add a plugin to generate basic block vectors, Alex Bennée, 2024/09/16
- [PATCH v2 17/18] plugins: add option to dump write argument to syscall plugin, Alex Bennée, 2024/09/16
- [PATCH v2 16/18] plugins: add plugin API to read guest memory, Alex Bennée, 2024/09/16