virtio: basic packed virtqueue support
This patch implements basic support for the packed virtqueue. Compare the split virtqueue which has three rings, packed virtqueue only have one which is supposed to have better cache utilization and more hardware friendly. Please refer virtio specification for more information. Signed-off-by:Wei Xu <wexu@redhat.com> Signed-off-by:
Jason Wang <jasowang@redhat.com> Signed-off-by:
Eugenio Pérez <eperezma@redhat.com> Message-Id: <20191025083527.30803-6-eperezma@redhat.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- hw/block/virtio-blk.c 1 addition, 1 deletionhw/block/virtio-blk.c
- hw/char/virtio-serial-bus.c 1 addition, 1 deletionhw/char/virtio-serial-bus.c
- hw/scsi/virtio-scsi.c 2 additions, 1 deletionhw/scsi/virtio-scsi.c
- hw/virtio/virtio.c 825 additions, 76 deletionshw/virtio/virtio.c
- include/hw/virtio/virtio.h 7 additions, 3 deletionsinclude/hw/virtio/virtio.h
Loading
Please register or sign in to comment