On Fri, May 02, 2025 at 11:45:46PM +0200, Philippe Mathieu-Daudé wrote: > Since v2: > - Use TargetInfo API (Pierrick) > > Since v1: > - Use max extent size of all archs (David) > > Based-on: <20250501212113.2961531-1-richard.hender...@linaro.org>
virtio bits: Reviewed-by: Michael S. Tsirkin <m...@redhat.com> feel free to merge. > Philippe Mathieu-Daudé (5): > qemu/target-info: Factor target_system_arch() out > qemu/target-info: Add %target_arch field to TargetInfo > hw/virtio/virtio-mem: Convert VIRTIO_MEM_USABLE_EXTENT to runtime > hw/virtio/virtio-mem: Convert VIRTIO_MEM_HAS_LEGACY_GUESTS to runtime > hw/virtio: Compile virtio-mem.c once > > include/qemu/target-info-impl.h | 4 +- > include/qemu/target-info.h | 9 +++ > hw/core/machine-qmp-cmds.c | 6 +- > hw/virtio/virtio-mem.c | 101 +++++++++++++++++++------------- > target-info-stub.c | 1 + > target-info.c | 15 +++++ > hw/virtio/meson.build | 2 +- > 7 files changed, 90 insertions(+), 48 deletions(-) > > -- > 2.47.1