From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwrlM-0006SN-JD for qemu-devel@nongnu.org; Tue, 17 Jun 2014 07:41:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwrlE-0005Lf-5E for qemu-devel@nongnu.org; Tue, 17 Jun 2014 07:41:16 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:54647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwrlD-0005LC-RG for qemu-devel@nongnu.org; Tue, 17 Jun 2014 07:41:08 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 17 Jun 2014 12:41:06 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 3350417D8042 for ; Tue, 17 Jun 2014 12:42:27 +0100 (BST) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s5HBf3rV32112712 for ; Tue, 17 Jun 2014 11:41:03 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s5HBf1pa018515 for ; Tue, 17 Jun 2014 05:41:02 -0600 Date: Tue, 17 Jun 2014 13:40:57 +0200 From: Greg Kurz Message-ID: <20140617134057.157e6acf@bahia.local> In-Reply-To: <1402999758.7661.129.camel@pasglop> References: <1402974463.7661.102.camel@pasglop> <539FC6B9.6060003@redhat.com> <1402981184.7661.107.camel@pasglop> <539FD3F1.2010304@redhat.com> <53A007D3.2090604@ozlabs.ru> <20140617120044.3ae839fa@bahia.local> <1402999758.7661.129.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] qemu VGA endian swap low level drawing changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: Peter Maydell , Alexey Kardashevskiy , "qemu-devel@nongnu.org" , Alexander Graf , Gerd Hoffmann , Paolo Bonzini On Tue, 17 Jun 2014 20:09:18 +1000 Benjamin Herrenschmidt wrote: > On Tue, 2014-06-17 at 12:00 +0200, Greg Kurz wrote: > > There has been a discussion already about virtio endianness: relying on > > a guest system wide setting such as LPCR_ILE has been strongly rejected > > at the time... The consensus for virtio is "device endianness is the > > endianness of the CPU that does the reset" (hence MSR_LE for PPC). > > How on earth did anybody reach such a conclusion ? Of all the possible > options I can think of this is the one that makes the *less* sense ! > This conclusion was reached while discussing dump support where we use LPCR_ILE, and I wanted to add a common helper to be used by virtio. Please find the thread in the link below: https://lists.nongnu.org/archive/html/qemu-devel/2014-05/msg00415.html Can you elaborate on the "less sense" opinion please ? > Cheers, > Ben. > > Thanks. -- Gregory Kurz kurzgreg@fr.ibm.com gkurz@linux.vnet.ibm.com Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)562 165 496 "Anarchy is about taking complete responsibility for yourself." Alan Moore.