diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-31 11:29:00 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-02-06 20:44:08 +0200 |
commit | 3724650db07057333879484c8bc7d900b5c1bf8e (patch) | |
tree | 0d4907014b89a2e4d862b429da7d2fb191315c4f /target-i386/helper.c | |
parent | ab281c1781add112a257c15924d670616a99c41a (diff) |
virtio: introduce virtqueue_alloc_element
Allocate the arrays for in_addr/out_addr/in_sg/out_sg outside the
VirtQueueElement. For now, virtqueue_pop and vring_pop keep
allocating a very large VirtQueueElement.
Reviewed-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>
Diffstat (limited to 'target-i386/helper.c')
0 files changed, 0 insertions, 0 deletions