On 2/2/26 08:40, Michael S. Tsirkin wrote:
On Sun, Feb 01, 2026 at 11:36:04PM +0100, 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.

Would make them indirect calls though, no?

Currently I count 3 indirect calls; such approach would have only 1.

Anyway I posted a v3 which should be even better.


So I suspect the performance of this needs to be tested, anyway.



Reply via email to