This is a reworked version of BenH's patch to set VGA framebuffer
endianess based on the endianness of the guest (as determined by the
H_SET_MODE hypercall).

I've split the patch into two parts the first adding the object
property to the VGA device allowing control of the endianness, and the
second manipulating it from the pseries code.

David Gibson (2):
  vga: Expose framebuffer byteorder as a QOM property
  pseries: Switch VGA endian on H_SET_MODE

 hw/display/vga-pci.c   | 22 ++++++++++++++++++++++
 hw/ppc/spapr_hcall.c   |  2 ++
 hw/ppc/spapr_pci.c     | 28 ++++++++++++++++++++++++++++
 include/hw/ppc/spapr.h |  1 +
 4 files changed, 53 insertions(+)

-- 
2.1.0


Reply via email to