From: Ian Campbell Subject: Re: [PATCH v2 5/5] libxl, hvmloader: Don't relocate memory for MMIO hole Date: Tue, 25 Jun 2013 10:56:33 +0100 Message-ID: <1372154193.22783.210.camel@zakaz.uk.xensource.com> References: <1371573984-28514-1-git-send-email-george.dunlap@eu.citrix.com> <1371573984-28514-5-git-send-email-george.dunlap@eu.citrix.com> <51C2C9E0.6060006@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51C2C9E0.6060006@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Ian Jackson , xen-devel@lists.xen.org, Stefano Stabellini , Hanweidong , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 2013-06-20 at 10:22 +0100, George Dunlap wrote: > Really, I'm of the opinion that if KVM is using SeaBIOS's pci > routines, we should just move do the same. No sense in duplicating > the effort for something like this. Perhaps I'm misremembering and/or conflating different issues but I think I tried this when I initially ported SeaBIOS to Xen and it got complicated quickly. My memory is a bit vague but IIRC there were issues with things like the PCI IRQ routing and with the ACPI tables. In both cases these are handled in hvmloader because they are counterparts to the implementation of the underlying virtualised platform which is tied to Xen. Moving things into SeaBIOS would constrain our ability to change stuff going forward (e.g. SeaBIOSes decisions about interrupt routing doesn't not currently match Xen's implementation) and would lead to a tricky API boundary somewhere between hvmloader+xen and SeaBIOS(+-qemu) Maybe PCI BAR placement isn't inherently linked to all that though, you are welcome to try and split it out ;-) Ian.