From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [RFC PATCH] virtio: change config to guest endian. Date: Tue, 22 Apr 2008 17:13:01 -0500 Message-ID: <480E62ED.2090004@codemonkey.ws> References: <200804221357.34571.rusty@rustcorp.com.au> <200804221529.14750.hollisb@us.ibm.com> <200804230705.38495.rusty@rustcorp.com.au> <200804221708.39452.hollisb@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , Christian Borntraeger , Avi Kivity , virtualization@lists.linux-foundation.org To: Hollis Blanchard Return-path: In-Reply-To: <200804221708.39452.hollisb@us.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Hollis Blanchard wrote: > On Tuesday 22 April 2008 16:05:38 Rusty Russell wrote: > >> On Wednesday 23 April 2008 06:29:14 Hollis Blanchard wrote: >> >>> On Tuesday 22 April 2008 09:31:35 Rusty Russell wrote: >>> >>>> We may still regret not doing *everything* little-endian, but this >>>> doesn't make it worse. >>>> >>> Hmm, why *don't* we just do everything LE, including the ring? >>> >> Mainly because when requirements are in doubt, simplicity wins, I think. >> > > Well, I think the definition of simplicity is up for debate in this > case... "LE everywhere" is much simpler than "it depends", IMHO. > You couldn't use the vringfd direct ring mapping optimization in KVM for PPC without teaching the kernel to access a vring in LE format. I'm pretty sure the later would get rejected on LKML anyway for vringfd as a generic mechanism. Regards, Anthony Liguori ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone