On 4/28/24 15:14, Philippe Mathieu-Daudé wrote:
@iommu_notifiers is specific to TCG system emulation, move it to
AccelCPUState.
Restrict TCG specific code in system/physmem.c, adding an empty
stub for tcg_register_iommu_notifier().
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
accel/tcg/vcpu-state.h | 3 +++
include/hw/core/cpu.h | 3 ---
system/physmem.c | 37 ++++++++++++++++++++++++++++---------
3 files changed, 31 insertions(+), 12 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~