qemu/include/hw/virtio
Stefan Hajnoczi f897bf751f virtio-blk: embed VirtQueueElement in VirtIOBlockReq
The memory allocation between hw/block/virtio-blk.c,
hw/block/dataplane/virtio-blk.c, and hw/virtio/dataplane/vring.c is
messy.  Structs are allocated in different files than they are freed in.
This is risky and makes memory leaks easier.

Embed VirtQueueElement in VirtIOBlockReq to reduce the amount of memory
allocation we need to juggle.  This also makes vring.c and virtio.c
slightly more similar.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-07-14 12:03:20 +02:00
..
dataplane virtio-blk: embed VirtQueueElement in VirtIOBlockReq 2014-07-14 12:03:20 +02:00
vhost-backend.h Add vhost-backend and VhostBackendType 2014-06-19 16:41:56 +03:00
vhost-scsi.h vhost-scsi: new device supporting the tcm_vhost Linux kernel module 2013-04-19 16:18:11 +02:00
vhost.h vhost: block migration if backend does not log memory 2014-06-23 17:37:59 +03:00
virtio-9p.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio-access.h virtio: memory accessors for endian-ambivalent targets 2014-06-29 19:39:42 +03:00
virtio-balloon.h virtio: fix broken aliases. 2013-04-15 10:22:04 -05:00
virtio-blk.h virtio-blk: embed VirtQueueElement in VirtIOBlockReq 2014-07-14 12:03:20 +02:00
virtio-bus.h virtio-bus: cleanup plug/unplug interface 2013-12-09 21:46:48 +01:00
virtio-net.h virtio: move common virtio properties to bus class device 2014-07-06 09:13:54 +03:00
virtio-rng.h virtio-rng: Convert to QOM realize 2013-12-09 21:46:49 +01:00
virtio-scsi.h virtio: move common virtio properties to bus class device 2014-07-06 09:13:54 +03:00
virtio-serial.h virtio-serial-port: Convert to QOM realize/unrealize 2014-03-13 01:21:57 +01:00
virtio.h virtio: add endian-ambivalent support to VirtIODevice 2014-06-29 19:39:42 +03:00