summary refs log tree commit diff stats
path: root/hw/virtio/vhost-user.c
diff options
context:
space:
mode:
authorHawkins Jiawei <yin31149@gmail.com>2023-10-13 16:09:41 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-10-18 10:41:50 -0400
commit99d6a32469debf1a48921125879b614d15acfb7a (patch)
tree800536d88405713d576a87123095e33b1b126a56 /hw/virtio/vhost-user.c
parent1d7e2a8fd4996fdb20d74fce41fe897311f3b06a (diff)
downloadfocaccia-qemu-99d6a32469debf1a48921125879b614d15acfb7a.tar.gz
focaccia-qemu-99d6a32469debf1a48921125879b614d15acfb7a.zip
vhost: Expose vhost_svq_available_slots()
Next patches in this series will delay the polling
and checking of buffers until either the SVQ is
full or control commands shadow buffers are full,
no longer perform an immediate poll and check of
the device's used buffers for each CVQ state load command.

To achieve this, this patch exposes
vhost_svq_available_slots(), allowing QEMU to know
whether the SVQ is full.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <25938079f0bd8185fd664c64e205e629f7a966be.1697165821.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user.c')
0 files changed, 0 insertions, 0 deletions