]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/virtio/virtio.h
virtio: basic packed virtqueue support
authorJason Wang <jasowang@redhat.com>
Fri, 25 Oct 2019 08:35:24 +0000 (10:35 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 25 Oct 2019 11:46:22 +0000 (07:46 -0400)
commit86044b24e865fb9596ed77a4d0f3af8b90a088a1
treed9a7c2cb6d84eb507cb0450e74b0d820bc0845e8
parent522bbb191cec2ac799f4bd662b0fcf6f00dfc2ea
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>
hw/block/virtio-blk.c
hw/char/virtio-serial-bus.c
hw/scsi/virtio-scsi.c
hw/virtio/virtio.c
include/hw/virtio/virtio.h