On 5/2/25 2:45 PM, Philippe Mathieu-Daudé wrote:
Check legacy guests support at runtime: instead of evaluating
the VIRTIO_MEM_HAS_LEGACY_GUESTS definition at compile time,
call target_system_arch() to detect which target is being run at
runtime. Register virtio_mem_legacy_guests_properties[] at runtime.

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  hw/virtio/virtio-mem.c | 77 ++++++++++++++++++++++++------------------
  1 file changed, 44 insertions(+), 33 deletions(-)

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to