Re: [Qemu-devel] [PATCH v8 11/20] virtio: add endian-ambivalent support to VirtIODevice

2014-06-13 Thread Greg Kurz
On Fri, 13 Jun 2014 14:41:30 +0200 Alexander Graf wrote: > > On 13.06.14 14:14, Greg Kurz wrote: > > On Fri, 13 Jun 2014 13:46:39 +0200 > > Alexander Graf wrote: > > > >> On 13.06.14 13:23, Greg Kurz wrote: > >>> Some CPU families can dynamically change their endianness. This means we > >>> can

Re: [Qemu-devel] [PATCH v8 11/20] virtio: add endian-ambivalent support to VirtIODevice

2014-06-13 Thread Alexander Graf
On 13.06.14 14:14, Greg Kurz wrote: On Fri, 13 Jun 2014 13:46:39 +0200 Alexander Graf wrote: On 13.06.14 13:23, Greg Kurz wrote: Some CPU families can dynamically change their endianness. This means we can have little endian ppc or big endian arm guests for example. This has an impact on leg

Re: [Qemu-devel] [PATCH v8 11/20] virtio: add endian-ambivalent support to VirtIODevice

2014-06-13 Thread Greg Kurz
On Fri, 13 Jun 2014 13:46:39 +0200 Alexander Graf wrote: > > On 13.06.14 13:23, Greg Kurz wrote: > > Some CPU families can dynamically change their endianness. This means we > > can have little endian ppc or big endian arm guests for example. This has > > an impact on legacy virtio data structur

Re: [Qemu-devel] [PATCH v8 11/20] virtio: add endian-ambivalent support to VirtIODevice

2014-06-13 Thread Alexander Graf
On 13.06.14 13:23, Greg Kurz wrote: Some CPU families can dynamically change their endianness. This means we can have little endian ppc or big endian arm guests for example. This has an impact on legacy virtio data structures since they are target endian. We hence introduce a new property to tra

[Qemu-devel] [PATCH v8 11/20] virtio: add endian-ambivalent support to VirtIODevice

2014-06-13 Thread Greg Kurz
Some CPU families can dynamically change their endianness. This means we can have little endian ppc or big endian arm guests for example. This has an impact on legacy virtio data structures since they are target endian. We hence introduce a new property to track the endianness of each virtio device