From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuZPO-0004V2-TE for qemu-devel@nongnu.org; Wed, 24 Mar 2010 18:50:42 -0400 Received: from [140.186.70.92] (port=47889 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuZPN-0004UM-Jc for qemu-devel@nongnu.org; Wed, 24 Mar 2010 18:50:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuZPM-000803-6i for qemu-devel@nongnu.org; Wed, 24 Mar 2010 18:50:41 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:35997) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuZPL-0007zx-Vb for qemu-devel@nongnu.org; Wed, 24 Mar 2010 18:50:40 -0400 Received: by gwb11 with SMTP id 11so2684039gwb.4 for ; Wed, 24 Mar 2010 15:50:39 -0700 (PDT) Message-ID: <4BAA9732.60909@codemonkey.ws> Date: Wed, 24 Mar 2010 17:50:26 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Compile files only once: some planning References: <20100324193903.GA11004@redhat.com> <201003242233.46516.paul@codesourcery.com> In-Reply-To: <201003242233.46516.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Blue Swirl , qemu-devel@nongnu.org, "Michael S. Tsirkin" On 03/24/2010 05:33 PM, Paul Brook wrote: >> But now there is a bigger problem, how to pass the property to the >> device. It's not fair to require the user to remember to set it. >> > It should not be a property of the device. All devices have a native > endianness (for PCI this is little-endian), and the intermediate > busses/interconnects should determine whether byteswapping occurs. > Right, the byte swapping needs to happen at the bus level which requires that the PCI regions use a different callback mechanism (and don't register directly with the cpu). Regards, Anthony Liguori > Paul > > >