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
gt; Sent: Sunday, January 16, 2011 3:28 AM > > To: qemu-devel@nongnu.org > > Cc: Anthony Liguori; Aurelien Jarno > > Subject: [Qemu-devel] [PATCH 1/2] virtio-net: fix > > cross-endianness support > > > > virtio-net used to work on cross-endianness configurat

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

2011-02-28 Thread Liu Yu-B13201
guori; Aurelien Jarno > Subject: [Qemu-devel] [PATCH 1/2] virtio-net: fix > cross-endianness support > > 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 correc

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

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

2011-01-15 Thread Aurelien Jarno
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 make virtio-net working. Tested on the following configurations: - i386 guest