On 18/02/13 10:31, Gerd Hoffmann wrote:
In case host and guest endianness differ the vga code first creates
a shared surface (using qemu_create_displaysurface_from), then goes
patch the surface format to indicate that the bytes must be swapped.
The switch to pixman broke that hack as the format patching isn't
propagated into the pixman image, so ui code using the pixman image
directly (such as vnc) uses the wrong format.
Fix that by adding a byteswap parameter to
qemu_create_displaysurface_from, so we'll use the correct format
when creating the surface (and the pixman image) and don't have
to patch the format afterwards.
Cc: qemu-sta...@nongnu.org
Cc: mark.cave-ayl...@ilande.co.uk
Cc: ag...@suse.de
Signed-off-by: Gerd Hoffmann<kra...@redhat.com>
Hi Gerd,
I can confirm that this patch against git master appears to solve the
problem for me on qemu-system-ppc - many thanks! So I guess now it's
just pending a fix for the Xen build before it can be applied?
ATB,
Mark.