Skip to content

Packed virtqueue for virtrio

Jason Wang qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest6 patches 5 repliesIn review

Changes in v5 from the cover letter

- 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

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6virtio: basic structure for packed ringhw/virtio/virtio.c+15 -01 reply
2/6virtio: device/driverr area size calculation refactor for split ringhw/virtio/virtio.c+10 -62 replies
3/6virtio: basic packed virtqueue supporthw/block/virtio-blk.c hw/char/virtio-serial-bus.c hw/scsi/virtio-scsi.c +2 more+837 -800 replies
4/6virtio: event suppression support for packed ringhw/virtio/virtio.c+133 -90 replies
5/6vhost_net: enable packed ring supporthw/net/vhost_net.c+2 -01 reply
6/6virtio: add property to enable packed virtqueueinclude/hw/virtio/virtio.h+3 -11 reply

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchJens Freimann
1/6R-b
2/6R-b
3/6
4/6
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH V5 0/6] Packed virtqueue for virtrio

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(-)
Signature · 1 line
2.18.1