Hi: This is an updated version of packed virtqueue support based on Wei and Jason's V6, mainly solving the clang leak detector error CI gave.
Please review. Changes from V6: - Commit reorder: Squash bugfix and sepparate big changes into smaller commits. Changes from V5: - Fix qemu's CI asan error. - Move/copy rcu comments. - Merge duplicated vdev->broken check between split and packet version. Eugenio Pérez (2): virtio: Free blk virqueues at unrealize() virtio: Free rnd virqueue at unrealize() Jason Wang (4): virtio: basic packed virtqueue support virtio: event suppression support for packed ring vhost_net: enable packed ring support virtio: add property to enable packed virtqueue Wei Xu (2): virtio: basic structure for packed ring virtio: device/driver area size calculation refactor for split ring hw/block/virtio-blk.c | 7 +- hw/char/virtio-serial-bus.c | 2 +- hw/net/vhost_net.c | 2 + hw/scsi/virtio-scsi.c | 3 +- hw/virtio/virtio-rng.c | 1 + hw/virtio/virtio.c | 1154 ++++++++++++++++++++++++++++++++++++++----- include/hw/virtio/virtio.h | 14 +- 7 files changed, 1045 insertions(+), 138 deletions(-) -- 2.16.5