From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1anT-0003in-Ck for qemu-devel@nongnu.org; Mon, 30 Jun 2014 08:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1anL-0001MW-6j for qemu-devel@nongnu.org; Mon, 30 Jun 2014 08:34:59 -0400 Received: from gate.crashing.org ([63.228.1.57]:56214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1anK-0001MR-TN for qemu-devel@nongnu.org; Mon, 30 Jun 2014 08:34:51 -0400 Message-ID: <1404131687.29546.6.camel@pasglop> From: Benjamin Herrenschmidt Date: Mon, 30 Jun 2014 22:34:47 +1000 In-Reply-To: <1404128955.24066.32.camel@nilsson.home.kraxel.org> References: <1403565068-15229-1-git-send-email-benh@kernel.crashing.org> <1403565068-15229-15-git-send-email-benh@kernel.crashing.org> <1404128955.24066.32.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 14/14] ppc/spapr/vga: Switch VGA endian on H_SET_MODE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On Mon, 2014-06-30 at 13:49 +0200, Gerd Hoffmann wrote: > On Di, 2014-06-24 at 09:11 +1000, Benjamin Herrenschmidt wrote: > > When the guest switches the interrupt endian mode, which essentially > > means a global machine endian switch, we want to change the VGA > > framebuffer endian mode as well in order to be backward compatible > > with existing guests who don't know about the new endian control > > register. > > I'd tend to add a notifier (see include/qemu/notify.h) for endian > switches instead, so anybody interested could register himself. Ok thanks, I'll have a look. Cheers, Ben.