All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org, Harsh Prateek Bora <harshpb@linux.ibm.com>,
	Stefano Garzarella <sgarzare@redhat.com>,
	Pierrick Bouvier <pierrick.bouvier@linaro.org>,
	Nicholas Piggin <npiggin@gmail.com>,
	qemu-ppc@nongnu.org
Subject: Re: [PATCH v3 00/11] single-binary: hw/virtio
Date: Mon, 2 Feb 2026 02:47:51 -0500	[thread overview]
Message-ID: <20260202024608-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20260201232924.93399-1-philmd@linaro.org>

On Mon, Feb 02, 2026 at 12:29:12AM +0100, Philippe Mathieu-Daudé wrote:
> This series eliminates target specifics in hw/virtio and replace them
> with runtime functions where needed.


This is not bad at all. I feel we do need to have the performance impact
tested, however, just to be sure, since it's probably the hottest path
for I/O.


> v3:
> - include missing SPAPR_MAX_RAM_SLOTS patch
> 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 (5):
>   target-info: add target_base_ppc, target_ppc and target_ppc64
>   hw/ppc/spapr: extract SPAPR_MAX_RAM_SLOTS in a new header
>   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/ppc/spapr.h            |  8 +---
>  include/hw/ppc/spapr_common.h     | 17 ++++++++
>  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 ++++----
>  10 files changed, 113 insertions(+), 130 deletions(-)
>  create mode 100644 include/hw/ppc/spapr_common.h
> 
> -- 
> 2.52.0



  parent reply	other threads:[~2026-02-02  7:48 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-01 23:29 [PATCH v3 00/11] single-binary: hw/virtio Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 01/11] target-info: add target_base_ppc, target_ppc and target_ppc64 Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 02/11] hw/virtio: Constify virtio_is_big_endian() argument Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 03/11] hw/virtio: Introduce VirtIODevice::access_is_big_endian boolean field Philippe Mathieu-Daudé
2026-02-01 23:50   ` Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 04/11] hw/virtio: Use VirtIODevice::access_is_big_endian field Philippe Mathieu-Daudé
2026-02-02  7:45   ` Michael S. Tsirkin
2026-02-02 13:08     ` Alex Bennée
2026-02-02 16:04       ` Michael S. Tsirkin
2026-02-02 18:52         ` Stefan Hajnoczi
2026-02-02 19:25           ` Pierrick Bouvier
2026-02-03  3:22             ` Pierrick Bouvier
2026-02-03 11:07               ` Michael S. Tsirkin
2026-02-03 17:31                 ` Pierrick Bouvier
2026-02-03 19:06                   ` Michael S. Tsirkin
2026-02-03 19:10                     ` Pierrick Bouvier
2026-02-03 19:37                       ` Pierrick Bouvier
2026-02-03 10:44             ` Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 05/11] hw/virtio: Reduce virtio_access_is_big_endian() scope Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 06/11] hw/virtio: Check target supports legacy bi-endianness at runtime Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 07/11] hw/virtio: Replace TARGET_BIG_ENDIAN -> target_big_endian() Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 08/11] hw/ppc/spapr: extract SPAPR_MAX_RAM_SLOTS in a new header Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 09/11] hw/virtio/vhost-user: make compilation unit common Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 10/11] hw/virtio/virtio-qmp: " Philippe Mathieu-Daudé
2026-02-01 23:29 ` [PATCH v3 11/11] hw/virtio: make all compilation units common Philippe Mathieu-Daudé
2026-02-02  7:47 ` Michael S. Tsirkin [this message]
2026-02-02 11:16 ` [PATCH v3 00/11] single-binary: hw/virtio Philippe Mathieu-Daudé
2026-02-02 18:13   ` Pierrick Bouvier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260202024608-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=harshpb@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=philmd@linaro.org \
    --cc=pierrick.bouvier@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=sgarzare@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.