]> git.proxmox.com Git - mirror_qemu.git/commit
virtio: make virtqueue_alloc_element static
authorLadi Prosek <lprosek@redhat.com>
Thu, 3 Nov 2016 08:55:50 +0000 (09:55 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Nov 2016 15:20:36 +0000 (17:20 +0200)
commitbf91bd27924955aa243abfa5d422ee71e9e84b93
tree5023af1e57d2ae4c6da11376c7c0ae34cd01ba8f
parent27e57efe32f53a8788cd6b6b9b9bbc08446cc8ae
virtio: make virtqueue_alloc_element static

The function does not fully initialize the returned VirtQueueElement and should
be used only internally from the virtio module.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio.c
include/hw/virtio/virtio.h