|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] Cirrus bugs vs endian: how two bugs cancel each other out |
Date: | Thu, 09 Aug 2012 08:17:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120714 Thunderbird/10.0.6 |
Hi, >> Maybe the guest driver places the qxl commands in native endian instead >> of big endian into memory? > > The guest drivers places the commands in the memory in its native > endianess. That why the device only works when guest/host has the same > endianess. That's sanit-checks doesn't fails. Ah, ok. this explains it. So we must fix red_parse_qxl.c to byteswap and also the guest driver to byteswap. Then it will work even in case guest and host have different endianess. cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |