mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-19 08:02:15 -06:00
virtio: make virtio_queue_notify_vq static
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
a3973f551d
commit
2b2cbcadc1
2 changed files with 1 additions and 2 deletions
|
@ -1088,7 +1088,7 @@ void virtio_queue_set_align(VirtIODevice *vdev, int n, int align)
|
||||||
virtio_queue_update_rings(vdev, n);
|
virtio_queue_update_rings(vdev, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
void virtio_queue_notify_vq(VirtQueue *vq)
|
static void virtio_queue_notify_vq(VirtQueue *vq)
|
||||||
{
|
{
|
||||||
if (vq->vring.desc && vq->handle_output) {
|
if (vq->vring.desc && vq->handle_output) {
|
||||||
VirtIODevice *vdev = vq->vdev;
|
VirtIODevice *vdev = vq->vdev;
|
||||||
|
|
|
@ -252,7 +252,6 @@ void virtio_queue_set_host_notifier_fd_handler(VirtQueue *vq, bool assign,
|
||||||
bool set_handler);
|
bool set_handler);
|
||||||
void virtio_queue_aio_set_host_notifier_handler(VirtQueue *vq, AioContext *ctx,
|
void virtio_queue_aio_set_host_notifier_handler(VirtQueue *vq, AioContext *ctx,
|
||||||
bool assign, bool set_handler);
|
bool assign, bool set_handler);
|
||||||
void virtio_queue_notify_vq(VirtQueue *vq);
|
|
||||||
void virtio_irq(VirtQueue *vq);
|
void virtio_irq(VirtQueue *vq);
|
||||||
VirtQueue *virtio_vector_first_queue(VirtIODevice *vdev, uint16_t vector);
|
VirtQueue *virtio_vector_first_queue(VirtIODevice *vdev, uint16_t vector);
|
||||||
VirtQueue *virtio_vector_next_queue(VirtQueue *vq);
|
VirtQueue *virtio_vector_next_queue(VirtQueue *vq);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue