qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 07/15] block: introduce QEMU_IN_COROUTINE macro


From: Paolo Bonzini
Subject: Re: [PATCH v5 07/15] block: introduce QEMU_IN_COROUTINE macro
Date: Thu, 24 Nov 2022 08:01:22 +0100



Il mer 23 nov 2022, 17:49 Kevin Wolf <kwolf@redhat.com> ha scritto:
I already asked about other opinions on this in patch 1.

These assertions are runtime checks and I don't feel they are the right
tool to verify coroutine_fn consistency. Asserting in tricky places
makes sense to me, especially as long as we can't rely on static
analysis, but adding it everywhere feels over the top to me.

I agree that they don't seem necessary, since static analysis is possible and superior.

Paolo


Kevin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]