From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUFZL-00025B-UV for qemu-devel@nongnu.org; Thu, 10 Oct 2013 08:42:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUFZF-0003kG-S9 for qemu-devel@nongnu.org; Thu, 10 Oct 2013 08:42:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUFZF-0003kB-Jz for qemu-devel@nongnu.org; Thu, 10 Oct 2013 08:42:13 -0400 Message-ID: <1381408927.15451.93.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Thu, 10 Oct 2013 14:42:07 +0200 In-Reply-To: <20131010122132.GA7884@redhat.com> References: <1381321384-17270-1-git-send-email-imammedo@redhat.com> <1381324328.12583.102.camel@nilsson.home.kraxel.org> <20131009192734.67770b73@thinkpad> <1381402583.15451.70.camel@nilsson.home.kraxel.org> <20131010113541.GD7582@redhat.com> <1381407256.15451.86.camel@nilsson.home.kraxel.org> <20131010122132.GA7884@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] map 64-bit PCI devices after all possible RAM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Igor Mammedov , kevin@koconnor.net, seabios@seabios.org, qemu-devel@nongnu.org, pbonzini@redhat.com Hi, > > > I think the issue is with legacy guests. > > > E.g. if VCPU claims to support 50 bit of memory > > > do we put high PCI memory at 1 << 50? > > > If yes old guests which expect at most 40 bit > > > will not be able to use it. > > > > Hmm. Sure such guests exist? > > I wouldn't be surprised. At least some windows > guests crash if you try to tell them your system > has too much physical memory (e.g. 2^48). Ok, so there is not really a way around making the location configurable. The size isn't needed, qemu can handle this on it's own. Guess we can just go with Igor's approach then. "etc/mem64-end" is a pretty bad name to say "please map 64bit pci bars here" though. cheers, Gerd