Hi: This is an updated version of packed virtqueue support based on Wei's V4. Tested with, virtio-blk, virito-net (with vhost_net), virtio-scsi, scp during migration etc.
Please review. Changes from V4: - using SET/GET_VRING_BASE to set/get last_used_idx/wrap_counter - fix virtqueue_pop_packed() to break virtio-scsi - memory barriers fix - add missing functions for packed virtqueue - various refactoring and tweaks 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/driverr area size calculation refactor for split ring hw/block/virtio-blk.c | 2 +- hw/char/virtio-serial-bus.c | 2 +- hw/net/vhost_net.c | 2 + hw/scsi/virtio-scsi.c | 3 +- hw/virtio/virtio.c | 1151 +++++++++++++++++++++++++++++++---- include/hw/virtio/virtio.h | 14 +- 6 files changed, 1039 insertions(+), 135 deletions(-) -- 2.18.1