diff options
author | Alex Bennée | 2022-03-21 16:30:37 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2022-05-16 10:38:40 +0200 |
commit | 503e355465ba0eafad49c2e174995d2e234ed288 (patch) | |
tree | 7a9e755b64d2f2ac40f1aef0accf87bf6aedb5a5 /hw/virtio/vhost-user-fs.c | |
parent | hw/virtio/vhost-user: don't suppress F_CONFIG when supported (diff) | |
download | qemu-503e355465ba0eafad49c2e174995d2e234ed288.tar.gz qemu-503e355465ba0eafad49c2e174995d2e234ed288.tar.xz qemu-503e355465ba0eafad49c2e174995d2e234ed288.zip |
virtio/vhost-user: dynamically assign VhostUserHostNotifiers
At a couple of hundred bytes per notifier allocating one for every
potential queue is very wasteful as most devices only have a few
queues. Instead of having this handled statically dynamically assign
them and track in a GPtrArray.
[AJB: it's hard to trigger the vhost notifiers code, I assume as it
requires a KVM guest with appropriate backend]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220321153037.3622127-14-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user-fs.c')
0 files changed, 0 insertions, 0 deletions