This series eliminates target specifics in hw/virtio and replace them with runtime functions where needed.
v2: - Reduce runtime calls for performance v1: https://lore.kernel.org/qemu-devel/[email protected]/ Philippe Mathieu-Daudé (6): hw/virtio: Constify virtio_is_big_endian() argument hw/virtio: Introduce VirtIODevice::access_is_big_endian boolean field hw/virtio: Use VirtIODevice::access_is_big_endian field hw/virtio: Reduce virtio_access_is_big_endian() scope hw/virtio: Check target supports legacy bi-endianness at runtime hw/virtio: Replace TARGET_BIG_ENDIAN -> target_big_endian() Pierrick Bouvier (4): target-info: add target_base_ppc, target_ppc and target_ppc64 hw/virtio/vhost-user: make compilation unit common hw/virtio/virtio-qmp: make compilation unit common hw/virtio: make all compilation units common include/hw/virtio/virtio-access.h | 46 ++++++-------------- include/hw/virtio/virtio.h | 7 +++- include/qemu/target-info.h | 21 ++++++++++ hw/virtio/vhost-user.c | 11 ++--- hw/virtio/virtio-qmp.c | 70 ------------------------------- hw/virtio/virtio.c | 25 ++++++++++- target-info.c | 21 ++++++++++ hw/virtio/meson.build | 17 ++++---- 8 files changed, 95 insertions(+), 123 deletions(-) -- 2.52.0
