qemu/hw/block
Paolo Bonzini ab281c1781 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>
2016-02-06 20:44:08 +02:00
..
dataplane virtio: move allocation to virtqueue_pop/vring_pop 2016-02-06 20:39:07 +02:00
block.c block: Clean up includes 2016-01-20 13:36:23 +01:00
cdrom.c block: Clean up includes 2016-01-20 13:36:23 +01:00
ecc.c block: Clean up includes 2016-01-20 13:36:23 +01:00
fdc.c Revert "hw/block/fdc: Implement tray status" 2016-02-02 17:47:04 +01:00
hd-geometry.c block: Clean up includes 2016-01-20 13:36:23 +01:00
m25p80.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
Makefile.objs block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
nand.c hw: Inline the qdev_prop_set_drive_nofail() wrapper 2016-01-13 11:58:58 +01:00
nvme.c nvme: generate OpenFirmware device path in the "bootorder" fw_cfg file 2016-02-02 12:45:01 +01:00
nvme.h nvme: implement the Flush command 2015-07-14 15:55:19 +02:00
onenand.c block: Clean up includes 2016-01-20 13:36:23 +01:00
pflash_cfi01.c block: Clean up includes 2016-01-20 13:36:23 +01:00
pflash_cfi02.c block: Clean up includes 2016-01-20 13:36:23 +01:00
tc58128.c block: Clean up includes 2016-01-20 13:36:23 +01:00
virtio-blk.c virtio: introduce qemu_get/put_virtqueue_element 2016-02-06 20:44:08 +02:00
xen_blkif.h xen/blkif: Avoid double access to src->nr_segments 2015-12-18 15:09:58 +00:00
xen_disk.c xen: Switch to libxengnttab interface for compat shims. 2016-01-26 17:19:28 +00:00