[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] OvmfPkg/PlatformPei: allow platform to specify start of PCI MMIO region

On Fri, 2013-11-08 at 18:51 +0000, Wei Liu wrote:
> On Fri, Nov 08, 2013 at 01:25:34PM -0500, Konrad Rzeszutek Wilk wrote:
> > On Fri, Nov 08, 2013 at 05:49:39PM +0000, Wei Liu wrote:
> > > The original code calculates the start of PCI MMIO region automatically,
> > > which is not desirable when running under Xen, as Xen is responsible of
> > > setting up respective regions.
> > 
> > What if Xen (hvmloader) also moves the MMIO to a different place and
> > size?

> > (Basically make e820_host option work with HVM)?

This doesn't exist yet, does it?

> Good point. We probably need to find a way to retrieve the actual
> information during runtime.

In the SeaBIOS case hvmloader passes the e820 map to the BIOS (via
struct seabios_info) to consume. This then gets modified as SeaBIOS
allocates memory and is eventually made available to the OS. (both
hvmloader and SeaBIOS will likely need to be extended if/when e820_host
gets implemented for HVM)

Perhaps hvmloadr/OVMF need a similar mechanism to communicate memory
regions and/or PCI bus configuration from hvmloader to UEFI?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.