Re: [Qemu-devel] [PATCH v6 2/8] virtio: allow byte swapping for vring and config access

2014-04-01 Thread Greg Kurz
On Mon, 31 Mar 2014 18:26:54 +0200 Andreas Färber wrote: > Am 31.03.2014 18:24, schrieb Alexander Graf: > > On 03/28/2014 11:57 AM, Greg Kurz wrote: > >> From: Rusty Russell > >> > >> This is based on a simpler patch by Anthony Liguouri, which only handled > >> the vring accesses. We also need s

Re: [Qemu-devel] [PATCH v6 2/8] virtio: allow byte swapping for vring and config access

2014-03-31 Thread Andreas Färber
Am 31.03.2014 18:24, schrieb Alexander Graf: > On 03/28/2014 11:57 AM, Greg Kurz wrote: >> From: Rusty Russell >> >> This is based on a simpler patch by Anthony Liguouri, which only handled >> the vring accesses. We also need some drivers to access these helpers, >> eg. for data which contains he

Re: [Qemu-devel] [PATCH v6 2/8] virtio: allow byte swapping for vring and config access

2014-03-31 Thread Alexander Graf
On 03/28/2014 11:57 AM, Greg Kurz wrote: From: Rusty Russell This is based on a simpler patch by Anthony Liguouri, which only handled the vring accesses. We also need some drivers to access these helpers, eg. for data which contains headers. Signed-off-by: Rusty Russell [ ldq_phys() API chan

Re: [Qemu-devel] [PATCH v6 2/8] virtio: allow byte swapping for vring and config access

2014-03-28 Thread Greg Kurz
On Fri, 28 Mar 2014 17:07:31 +0100 Thomas Huth wrote: > On Fri, 28 Mar 2014 11:57:25 +0100 > Greg Kurz wrote: > > > From: Rusty Russell > > > > This is based on a simpler patch by Anthony Liguouri, which only handled > > the vring accesses. We also need some drivers to access these helpers,

Re: [Qemu-devel] [PATCH v6 2/8] virtio: allow byte swapping for vring and config access

2014-03-28 Thread Thomas Huth
On Fri, 28 Mar 2014 11:57:25 +0100 Greg Kurz wrote: > From: Rusty Russell > > This is based on a simpler patch by Anthony Liguouri, which only handled > the vring accesses. We also need some drivers to access these helpers, > eg. for data which contains headers. > > Signed-off-by: Rusty Russe

[Qemu-devel] [PATCH v6 2/8] virtio: allow byte swapping for vring and config access

2014-03-28 Thread Greg Kurz
From: Rusty Russell This is based on a simpler patch by Anthony Liguouri, which only handled the vring accesses. We also need some drivers to access these helpers, eg. for data which contains headers. Signed-off-by: Rusty Russell [ ldq_phys() API change, use per-device needs_byteswap flag,