[PATCH v2 00/10] single-binary: hw/virtio

Philippe Mathieu-Daudé posted 10 patches 5 days, 4 hours ago
Failed in applying to current master (apply log)
There is a newer version of this series
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(-)
[PATCH v2 00/10] single-binary: hw/virtio
Posted by Philippe Mathieu-Daudé 5 days, 4 hours ago
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/20260131020100.1115203-1-pierrick.bouvier@linaro.org/

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