Re: [Qemu-devel] [PATCH] virtio-net: use the backend cross-endian capabilities

2015-11-09 Thread Greg Kurz
On Fri, 06 Nov 2015 18:45:04 +0100 Greg Kurz wrote: > When running a fully emulated device in cross-endian conditions, including > a virtio 1.0 device offered to a big endian guest, we need to fix the vnet > headers. This is currently handled by the virtio_net_hdr_swap() function > in the core vi

[Qemu-devel] [PATCH] virtio-net: use the backend cross-endian capabilities

2015-11-06 Thread Greg Kurz
When running a fully emulated device in cross-endian conditions, including a virtio 1.0 device offered to a big endian guest, we need to fix the vnet headers. This is currently handled by the virtio_net_hdr_swap() function in the core virtio-net code but it should actually be handled by the net bac