]> git.ipfire.org Git - thirdparty/qemu.git/commit
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:38:35 +0000 (18:38 +0200)
commit6674dc4269030567dd6c463b7eedc8a5b9ad1888
tree797ff017c72dac8193a802587582211252db588c
parent96638e706cd431528690cf611adcb04e1bc3255d
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>
(cherry picked from commit 42fb2e0720511fa1da2f8e751be393f851b71d80)
hw/virtio.c
hw/virtio.h