search for: virtio_queue_legacy_update_rings

Displaying 4 results from an estimated 4 matches for "virtio_queue_legacy_update_rings".

2015 Jan 28
0
[Qemu-devel] [PATCH RFC v6 07/20] virtio: allow virtio-1 queue layout
...case VIRTIO_MMIO_QUEUEPFN: (...) > > /* virt queue functions */ > > -static void virtqueue_init(VirtQueue *vq) > > +void virtio_queue_update_rings(VirtIODevice *vdev, int n) > > Perhaps something in the name to emphasise that this is only for <v1.0 > devices? virtio_queue_legacy_update_rings()? Maybe a bit long... > > > { > > - hwaddr pa = vq->pa; > > + VRing *vring = &vdev->vq[n].vring; > > > > - vq->vring.desc = pa; > > - vq->vring.avail = pa + vq->vring.num * sizeof(VRingDesc); > > - vq->vring.use...
2015 Jan 28
0
[Qemu-devel] [PATCH RFC v6 07/20] virtio: allow virtio-1 queue layout
...case VIRTIO_MMIO_QUEUEPFN: (...) > > /* virt queue functions */ > > -static void virtqueue_init(VirtQueue *vq) > > +void virtio_queue_update_rings(VirtIODevice *vdev, int n) > > Perhaps something in the name to emphasise that this is only for <v1.0 > devices? virtio_queue_legacy_update_rings()? Maybe a bit long... > > > { > > - hwaddr pa = vq->pa; > > + VRing *vring = &vdev->vq[n].vring; > > > > - vq->vring.desc = pa; > > - vq->vring.avail = pa + vq->vring.num * sizeof(VRingDesc); > > - vq->vring.use...
2015 Jan 22
2
[Qemu-devel] [PATCH RFC v6 07/20] virtio: allow virtio-1 queue layout
On Thu, Dec 11, 2014 at 02:25:09PM +0100, Cornelia Huck wrote: > 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 at de.ibm.com> > --- >
2015 Jan 22
2
[Qemu-devel] [PATCH RFC v6 07/20] virtio: allow virtio-1 queue layout
On Thu, Dec 11, 2014 at 02:25:09PM +0100, Cornelia Huck wrote: > 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 at de.ibm.com> > --- >