virtio: drop virtqueue_map_sg
Deprecated in favor of virtqueue_map. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
This commit is contained in:
parent
4ada533189
commit
3945ecf1ec
@ -491,13 +491,6 @@ static void virtqueue_map_iovec(struct iovec *sg, hwaddr *addr,
|
||||
}
|
||||
}
|
||||
|
||||
/* Deprecated: don't use in new code */
|
||||
void virtqueue_map_sg(struct iovec *sg, hwaddr *addr,
|
||||
size_t num_sg, int is_write)
|
||||
{
|
||||
virtqueue_map_iovec(sg, addr, &num_sg, num_sg, is_write);
|
||||
}
|
||||
|
||||
void virtqueue_map(VirtQueueElement *elem)
|
||||
{
|
||||
virtqueue_map_iovec(elem->in_sg, elem->in_addr, &elem->in_num,
|
||||
|
@ -151,8 +151,6 @@ void virtqueue_discard(VirtQueue *vq, const VirtQueueElement *elem,
|
||||
void virtqueue_fill(VirtQueue *vq, const VirtQueueElement *elem,
|
||||
unsigned int len, unsigned int idx);
|
||||
|
||||
void virtqueue_map_sg(struct iovec *sg, hwaddr *addr,
|
||||
size_t num_sg, int is_write);
|
||||
void virtqueue_map(VirtQueueElement *elem);
|
||||
int virtqueue_pop(VirtQueue *vq, VirtQueueElement *elem);
|
||||
int virtqueue_avail_bytes(VirtQueue *vq, unsigned int in_bytes,
|
||||
|
Loading…
Reference in New Issue
Block a user