Re: [Qemu-devel] [PATCH] dataplane: drop copy_in_vring_desc()

2015-06-26 Thread Greg Kurz
On Fri, 26 Jun 2015 11:00:45 +0100 Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Jun 25, 2015 at 05:26:09PM +0200, Greg Kurz wrote: During early virtio 1.0 devel, there were several proposals about how to deal endianness of the vring descriptor fields: - convert the decriptor to host

Re: [Qemu-devel] [PATCH] dataplane: drop copy_in_vring_desc()

2015-06-26 Thread Stefan Hajnoczi
On Thu, Jun 25, 2015 at 05:26:09PM +0200, Greg Kurz wrote: During early virtio 1.0 devel, there were several proposals about how to deal endianness of the vring descriptor fields: - convert the decriptor to host endianness in a single place, and use its fields directly in the code - keep

[Qemu-devel] [PATCH] dataplane: drop copy_in_vring_desc()

2015-06-25 Thread Greg Kurz
During early virtio 1.0 devel, there were several proposals about how to deal endianness of the vring descriptor fields: - convert the decriptor to host endianness in a single place, and use its fields directly in the code - keep the descriptor untouched and use virtio memory helpers to access