On 1/2/26 23:36, Philippe Mathieu-Daudé wrote:
On 31/1/26 18:48, Michael S. Tsirkin wrote:
On Fri, Jan 30, 2026 at 06:00:56PM -0800, Pierrick Bouvier wrote:
Signed-off-by: Pierrick Bouvier <[email protected]>
Performance impact?
the reason we have these is for performance ...
If this is a worry, we can declare the virtio LD/ST helpers in
VirtIODevice and set them in virtio_reset(); the call chain will
be even simpler than doing that check on every calls.
Or just have a VirtIODevice::access_is_big_endian boolean
field (re)initialized in virtio_reset(), and drop this
virtio_access_is_big_endian() method.