]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio.c
virtio: Factor virtqueue_map_sg out
authorKevin Wolf <kwolf@redhat.com>
Tue, 3 Aug 2010 14:54:38 +0000 (16:54 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 30 Aug 2010 16:29:19 +0000 (18:29 +0200)
commit42fb2e0720511fa1da2f8e751be393f851b71d80
tree4ec0b019a07d515052cec01c4a2b622301cd77e6
parent02a89b219039621c940863aa5a9da4fec81a1546
virtio: Factor virtqueue_map_sg out

Separate the mapping of requests to host memory from the descriptor iteration.
The next patch will make use of it in a different context.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/virtio.c
hw/virtio.h