diff options
| author | Gal Hammer | 2018-01-29 15:20:57 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2018-02-08 20:06:40 +0100 |
| commit | 710fccf80d787911120145f508f9c4c664cf0e03 (patch) | |
| tree | 6e9b6a0a77c994bf2480814f8cf123b37d47a544 /include | |
| parent | virtio: remove event notifier cleanup call on de-assign (diff) | |
| download | qemu-710fccf80d787911120145f508f9c4c664cf0e03.tar.gz qemu-710fccf80d787911120145f508f9c4c664cf0e03.tar.xz qemu-710fccf80d787911120145f508f9c4c664cf0e03.zip | |
virtio: improve virtio devices initialization time
The loading time of a VM is quite significant when its virtio
devices use a large amount of virt-queues (e.g. a virtio-serial
device with max_ports=511). Most of the time is spend in the
creation of all the required event notifiers (ioeventfd and memory
regions).
This patch pack all the changes to the memory regions in a
single memory transaction.
Reported-by: Sitong Liu
Reported-by: Xiaoling Gao
Signed-off-by: Gal Hammer <ghammer@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
