On 6/3/23 02:57, Richard Henderson wrote:
Split out the logic to emit a host memory barrier in response to
a guest memory operation. Do not provide a true default for
TCG_GUEST_DEFAULT_MO because the defined() check will still be
useful for determining if a guest has been updated for MTTCG.
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
include/tcg/tcg.h | 20 ++++++++++++++++++++
accel/tcg/tcg-all.c | 6 +-----
tcg/tcg-op.c | 8 +-------
3 files changed, 22 insertions(+), 12 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>