On 6/20/25 10:13, Philippe Mathieu-Daudé wrote:
Currently nvmm_enabled() is restricted to target-specific code.
By defining CONFIG_NVMM_IS_POSSIBLE we allow its use anywhere.
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
include/system/nvmm.h | 23 ++++++++++++-----------
accel/stubs/nvmm-stub.c | 12 ++++++++++++
target/i386/nvmm/nvmm-all.c | 6 ------
accel/stubs/meson.build | 1 +
4 files changed, 25 insertions(+), 17 deletions(-)
create mode 100644 accel/stubs/nvmm-stub.c
Reviewed-by: Richard Henderson <[email protected]>
r~