Re: [Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion

2017-09-18 Thread Farhan Ali
On 09/18/2017 06:32 AM, Gerd Hoffmann wrote: On Fri, 2017-09-15 at 10:40 -0400, Farhan Ali wrote: Virtio GPU code currently only supports litte endian format, and so using the Virtio GPU device on a big endian machine does not work. Let's fix it by supporting the correct host cpu byte order.

Re: [Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion

2017-09-18 Thread Gerd Hoffmann
On Fri, 2017-09-15 at 10:40 -0400, Farhan Ali wrote: > Virtio GPU code currently only supports litte endian format, > and so using the Virtio GPU device on a big endian machine > does not work. > > Let's fix it by supporting the correct host cpu byte order. > > Signed-off-by: Farhan Ali

[Qemu-devel] [PATCH v3 1/2] virtio-gpu: Handle endian conversion

2017-09-15 Thread Farhan Ali
Virtio GPU code currently only supports litte endian format, and so using the Virtio GPU device on a big endian machine does not work. Let's fix it by supporting the correct host cpu byte order. Signed-off-by: Farhan Ali --- hw/display/virtio-gpu.c | 70