]> Git Repo - qemu.git/commit - hw/block/virtio-blk.c
virtio: introduce qemu_get/put_virtqueue_element
authorPaolo Bonzini <[email protected]>
Sun, 31 Jan 2016 10:28:59 +0000 (11:28 +0100)
committerMichael S. Tsirkin <[email protected]>
Sat, 6 Feb 2016 18:44:08 +0000 (20:44 +0200)
commitab281c1781add112a257c15924d670616a99c41a
tree4b24857c83b3c5494cecf1836c874ea385c79d04
parent51b19ebe4320f3dcd93cea71235c1219318ddfd2
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/block/virtio-blk.c
hw/char/virtio-serial-bus.c
hw/scsi/virtio-scsi.c
hw/virtio/virtio.c
include/hw/virtio/virtio.h
This page took 0.029152 seconds and 4 git commands to generate.