]> Git Repo - qemu.git/commit
accel/tcg/cputlb: avoid recursive BQL (fixes #1706296)
authorAlex Bennée <[email protected]>
Thu, 21 Sep 2017 11:06:25 +0000 (12:06 +0100)
committerRichard Henderson <[email protected]>
Mon, 25 Sep 2017 18:23:30 +0000 (11:23 -0700)
commit8b81253332b5a3f3c67b6462f39caef47a00dd29
tree829033e038f0bb155a9afc7f7a2fc1293c02d0a2
parent460b6c8e581aa06b86f59eebd9e52edfe7adf417
accel/tcg/cputlb: avoid recursive BQL (fixes #1706296)

The mmio path (see exec.c:prepare_mmio_access) already protects itself
against recursive locking and it makes sense to do the same for
io_readx/writex. Otherwise any helper running in the BQL context will
assert when it attempts to write to device memory as in the case of
the bug report.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
CC: Richard Jones <[email protected]>
CC: Paolo Bonzini <[email protected]>
CC: [email protected]
Message-Id: <20170921110625[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
accel/tcg/cputlb.c
This page took 0.024824 seconds and 4 git commands to generate.