summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorLongpeng <longpeng2@huawei.com>2022-12-27 15:20:15 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-01-08 01:54:23 -0500
commite66f2311d680de28e1cd95570822c4e17841120d (patch)
tree62d56fb32ad549d9b47f1b3d8f5fbbfb3698001e /hw/core
parent0fdc6b8509f3d7663c2b5de164a5ab90173e2f19 (diff)
downloadfocaccia-qemu-e66f2311d680de28e1cd95570822c4e17841120d.tar.gz
focaccia-qemu-e66f2311d680de28e1cd95570822c4e17841120d.zip
vdpa: commit all host notifier MRs in a single MR transaction
This allows the vhost-vdpa device to batch the setup of all its MRs of
host notifiers.

This significantly reduces the device starting time, e.g. the time spend
on setup the host notifier MRs reduce from 423ms to 32ms for a VM with
64 vCPUs and 3 vhost-vDPA generic devices (vdpa_sim_blk, 64vq per device).

Signed-off-by: Longpeng <longpeng2@huawei.com>
Message-Id: <20221227072015.3134-4-longpeng2@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions