search for: virtio_queue_get_desc_size

Displaying 9 results from an estimated 9 matches for "virtio_queue_get_desc_size".

2015 May 12
2
[Qemu-devel] [PATCH RFC 4/7] vhost: set vring endianness for legacy virtio
..._set_vring_endian_legacy(dev, > + virtio_is_big_endian(vdev), > + vhost_vq_index); > + if (r) { > + return -errno; > + } > + } > + > s = l = virtio_queue_get_desc_size(vdev, idx); > a = virtio_queue_get_desc_addr(vdev, idx); > vq->desc = cpu_physical_memory_map(a, &l, 0);
2015 May 12
2
[Qemu-devel] [PATCH RFC 4/7] vhost: set vring endianness for legacy virtio
..._set_vring_endian_legacy(dev, > + virtio_is_big_endian(vdev), > + vhost_vq_index); > + if (r) { > + return -errno; > + } > + } > + > s = l = virtio_queue_get_desc_size(vdev, idx); > a = virtio_queue_get_desc_addr(vdev, idx); > vq->desc = cpu_physical_memory_map(a, &l, 0);
2015 May 06
0
[PATCH RFC 4/7] vhost: set vring endianness for legacy virtio
...an(vdev)) { + r = vhost_virtqueue_set_vring_endian_legacy(dev, + virtio_is_big_endian(vdev), + vhost_vq_index); + if (r) { + return -errno; + } + } + s = l = virtio_queue_get_desc_size(vdev, idx); a = virtio_queue_get_desc_addr(vdev, idx); vq->desc = cpu_physical_memory_map(a, &l, 0); @@ -747,8 +780,9 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, struct vhost_virtqueue *vq, uns...
2015 May 12
0
[Qemu-devel] [PATCH RFC 4/7] vhost: set vring endianness for legacy virtio
...+ virtio_is_big_endian(vdev), > > + vhost_vq_index); > > + if (r) { > > + return -errno; > > + } > > + } > > + > > s = l = virtio_queue_get_desc_size(vdev, idx); > > a = virtio_queue_get_desc_addr(vdev, idx); > > vq->desc = cpu_physical_memory_map(a, &l, 0);
2015 May 06
9
[PATCH RFC 0/7] vhost: cross-endian support (vhost-net only)
Hi, This series allows QEMU to use vhost with legacy virtio devices when host and target don't have the same endianness. Only network devices are covered for the moment. I had already posted a series some monthes ago but it never got reviewed. Moreover, the underlying kernel support was entirely re-written and is still waiting to be applied by Michael. I hence post as RFC. The corresponding
2015 May 06
9
[PATCH RFC 0/7] vhost: cross-endian support (vhost-net only)
Hi, This series allows QEMU to use vhost with legacy virtio devices when host and target don't have the same endianness. Only network devices are covered for the moment. I had already posted a series some monthes ago but it never got reviewed. Moreover, the underlying kernel support was entirely re-written and is still waiting to be applied by Michael. I hence post as RFC. The corresponding
2013 May 28
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...t n); +void virtio_queue_set_desc_addr(VirtIODevice *vdev, int n, hwaddr addr); +void virtio_queue_set_avail_addr(VirtIODevice *vdev, int n, hwaddr addr); +void virtio_queue_set_used_addr(VirtIODevice *vdev, int n, hwaddr addr); hwaddr virtio_queue_get_ring_addr(VirtIODevice *vdev, int n); hwaddr virtio_queue_get_desc_size(VirtIODevice *vdev, int n); hwaddr virtio_queue_get_avail_size(VirtIODevice *vdev, int n); -- MST
2013 May 28
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...t n); +void virtio_queue_set_desc_addr(VirtIODevice *vdev, int n, hwaddr addr); +void virtio_queue_set_avail_addr(VirtIODevice *vdev, int n, hwaddr addr); +void virtio_queue_set_used_addr(VirtIODevice *vdev, int n, hwaddr addr); hwaddr virtio_queue_get_ring_addr(VirtIODevice *vdev, int n); hwaddr virtio_queue_get_desc_size(VirtIODevice *vdev, int n); hwaddr virtio_queue_get_avail_size(VirtIODevice *vdev, int n); -- MST
2013 May 28
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...ueue_set_desc_addr(VirtIODevice *vdev, int n, hwaddr addr); > +void virtio_queue_set_avail_addr(VirtIODevice *vdev, int n, hwaddr addr); > +void virtio_queue_set_used_addr(VirtIODevice *vdev, int n, hwaddr addr); > hwaddr virtio_queue_get_ring_addr(VirtIODevice *vdev, int n); > hwaddr virtio_queue_get_desc_size(VirtIODevice *vdev, int n); > hwaddr virtio_queue_get_avail_size(VirtIODevice *vdev, int n); > -- > MST > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://...