From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH 0/3] virtio-mmio: handle BE guests on LE hosts Date: Mon, 14 Oct 2013 19:43:36 +1030 Message-ID: <87iox0b4fz.fsf@rustcorp.com.au> References: <1381502171-8187-1-git-send-email-marc.zyngier@arm.com> <20131012182837.GC2089@redhat.com> <525BAA40.8070103@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "linux-arm-kernel\@lists.infradead.org" , "kvmarm\@lists.cs.columbia.edu" , "kvm\@vger.kernel.org" , Pawel Moll To: Marc Zyngier , "Michael S. Tsirkin" Return-path: Received: from ozlabs.org ([203.10.76.45]:53171 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757143Ab3JNVnA (ORCPT ); Mon, 14 Oct 2013 17:43:00 -0400 In-Reply-To: <525BAA40.8070103@arm.com> Sender: kvm-owner@vger.kernel.org List-ID: Marc Zyngier writes: > Hi Michael, > > On 12/10/13 19:28, Michael S. Tsirkin wrote: >> On Fri, Oct 11, 2013 at 03:36:08PM +0100, Marc Zyngier wrote: >>> This small patch series adds just enough kernel infrastructure and >>> fixes to allow a BE guest to use virtio-mmio on a LE host, provided >>> that the host actually supports such madness. >>> >>> This has been tested on arm64, with some fixes to KVM and a set of >>> changes to kvmtool, both which I am posting separately. >>> >>> A branch containing all the relevant changes is at: >>> git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/be-on-le-3.12-rc4 >>> >>> Cc: Rusty Russell >>> Cc: Michael S. Tsirkin >>> Cc: Pawel Moll >> >> We are changing the spec to make everything LE instead of >> the native endian. >> >> I think that'll fix the issue in a cleaner way. > > While I agree that it would solve the issue completely, it would also > break all BE users. Is that really an option? > > The whole goal of this series is to implement something that gracefully > falls back to what we have today, not breaking anything in the process. Pawel was in favor of incrementing the version number. OTOH, clearly there are no big endian users at the moment, since they fail the magic tests... Cheers, Rusty.