]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/virtio.c
virtio: allow virtio-1 queue layout
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 4 Jun 2015 10:34:12 +0000 (12:34 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 10 Jun 2015 16:15:04 +0000 (18:15 +0200)
commitab223c9518e8c7eb542ef3133de1a34475b69790
treee62ffe27d7702e98da126d6808aca3f3d7b1f12a
parent3c185597c86b8cd0a07c46e7a5bd5aac28bb7200
virtio: allow virtio-1 queue layout

For virtio-1 devices, we allow a more complex queue layout that doesn't
require descriptor table and rings on a physically-contigous memory area:
add virtio_queue_set_rings() to allow transports to set this up.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-mmio.c
hw/virtio/virtio.c
include/hw/virtio/virtio.h