From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL2YV-00051T-GS for qemu-devel@nongnu.org; Mon, 09 Feb 2015 23:36:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YL2YG-0003ZQ-7X for qemu-devel@nongnu.org; Mon, 09 Feb 2015 23:36:11 -0500 From: David Gibson Date: Tue, 10 Feb 2015 15:36:14 +1100 Message-Id: <1423542976-8825-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 0/2] ppc: Automatically set vga framebuffer endianness based on guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de, kraxel@redhat.com, benh@kernel.crashing.org Cc: aik@ozlabs.ru, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, mdroth@us.ibm.com, David Gibson 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