Repetitive ioctls makes vdpa devices initialization and startup slow. This patch series is to cache Virtio status, features, and config. For each latency test, I use vdpa-sim-net as my vdpa device.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1579 Shao-Chien Chiang (2): vhost-vdpa: cache device status and features vhost-vdpa: cache device config hw/virtio/vhost-vdpa.c | 60 ++++++++++++++++++++++++++-------- include/hw/virtio/vhost-vdpa.h | 4 +++ 2 files changed, 50 insertions(+), 14 deletions(-) -- 2.25.1