Re: [Qemu-devel] [PATCH 1/2] virtio-net: fix cross-endianness support

2011-03-03 Thread Aurelien Jarno
On Thu, Mar 03, 2011 at 07:50:03PM +, Stefan Hajnoczi wrote: > On Thu, Mar 3, 2011 at 7:16 PM, Aurelien Jarno wrote: > > The endianness handling in virtio-net is different than in virtio-blk. > > In virtio-blk we basically have to byteswap the data when the endianness > > of the guest is diffe

Re: [Qemu-devel] [PATCH 1/2] virtio-net: fix cross-endianness support

2011-03-03 Thread Stefan Hajnoczi
On Thu, Mar 3, 2011 at 7:16 PM, Aurelien Jarno wrote: > The endianness handling in virtio-net is different than in virtio-blk. > In virtio-blk we basically have to byteswap the data when the endianness > of the guest is different than the one of the guest. If I am correct, in > virtio-net it seems

Re: [Qemu-devel] [PATCH 1/2] virtio-net: fix cross-endianness support

2011-03-03 Thread Aurelien Jarno
On Mon, Feb 28, 2011 at 08:43:41AM +, Liu Yu-B13201 wrote: > > > > -Original Message- > > From: qemu-devel-bounces+yu.liu=freescale@nongnu.org > > [mailto:qemu-devel-bounces+yu.liu=freescale@nongnu.org] > > On Behalf Of Aurelien Jarno > > Sent: Sunday, January 16, 2011 3:28

RE: [Qemu-devel] [PATCH 1/2] virtio-net: fix cross-endianness support

2011-02-28 Thread Liu Yu-B13201
> -Original Message- > From: qemu-devel-bounces+yu.liu=freescale@nongnu.org > [mailto:qemu-devel-bounces+yu.liu=freescale@nongnu.org] > On Behalf Of Aurelien Jarno > Sent: Sunday, January 16, 2011 3:28 AM > To: qemu-devel@nongnu.org > Cc: Anthony Liguori; Aurelien Jarno > Subje

Re: [Qemu-devel] [PATCH 1/2] virtio-net: fix cross-endianness support

2011-01-25 Thread Aurelien Jarno
On Sat, Jan 15, 2011 at 08:27:43PM +0100, Aurelien Jarno wrote: > virtio-net used to work on cross-endianness configurations, but doesn't > anymore with recent guest kernels, as the new features don't handle > endianness correctly. > > This patch fixes wrong conversion, and add missing ones to mak