summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux
diff options
context:
space:
mode:
authorPaolo Bonzini2016-01-31 11:28:59 +0100
committerMichael S. Tsirkin2016-02-06 19:44:08 +0100
commitab281c1781add112a257c15924d670616a99c41a (patch)
tree4b24857c83b3c5494cecf1836c874ea385c79d04 /linux-headers/linux
parentvirtio: move allocation to virtqueue_pop/vring_pop (diff)
downloadqemu-ab281c1781add112a257c15924d670616a99c41a.tar.gz
qemu-ab281c1781add112a257c15924d670616a99c41a.tar.xz
qemu-ab281c1781add112a257c15924d670616a99c41a.zip
virtio: introduce qemu_get/put_virtqueue_element
Move allocation to virtio functions also when loading/saving a VirtQueueElement. This will also let the load/save functions keep backwards compatibility when the VirtQueueElement layout is changed. 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 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions