On 4/12/25 19:24, Pierrick Bouvier wrote:
On 4/11/25 22:30, Nicholas Piggin wrote:
Do we actually need to hold replay mutex (or even bql) over qemu_init()?
Both should get dropped before we return here. But as a simple fix, I
guess this is okay.

For the bql, I don't know the exact reason.

In general it's better to assume that there can be other threads (and therefore you need BQL).

Also, Rust code panics if you access a BqlCell or BqlRefCell without holding the lock.

Paolo


Reply via email to