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? So I suspect the performance of this needs to be tested, anyway. -- MST
