[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RFC 01/12] PVHv2 Dom0
Hello, Sorry, I've failed to Cc both Konrad and Boris on this... On Fri, Jul 29, 2016 at 06:28:55PM +0200, Roger Pau Monne wrote: > Hello, > > This is a very rough implementation of a PVHv2 Dom0. There are still a bunch > of things that will not work properly (like SR-IOV, MSI, MSI-X...), but it > *should* be able to boot a Dom0 kernel and it doesn't require using PIRQs. > > There are some changes compared to a traditional PV or PVH Dom0: > > - An emulated local APIC (for each vCPU) and IO APIC is provided to Dom0. > - At the start of day only the low 1MB and the ACPI e820 regions are mapped > into the guest using 1:1 mappings (for UEFI systems mapping the low 1MB > probably doesn't make any sense, but alas). > - The MADT has been replaced in order to reflect the real topology seen by > Dom0. > - In order to have the BARs of PCI devices mapped Dom0 must call > PHYSDEVOP_pci_device_add. See the notes on patch 11 for more information > (and what's missing). > - ATM only legacy PCI interrupts are supported. This is implemented by > looking at the writes Dom0 makes to the emulated IO APIC and translating > them into the real hardware. Note that MSI or MSI-X capabilities are > _not_ masked from the PCI capabilities list, so the user must avoid using > them. > - PCIe Enhanced Configuration Mechanism regions are not yet mapped into > Dom0 physmap. > - Some ACPI tables are zapped (it's signature is inverted) to prevent Dom0 > from poking at them, those are: HPET, SLIT, SRAT, MPST and PMTT. > > This is still very experimental, I've been able to boot a FreeBSD Dom0 using > 2GB and 4GB of memory assigned to it, but if I try to use 6GB Xen gets a NMI > (I've got no idea why yet). I don't think it's worth delaying this more, > because it's going to take me some time to finish all this work (MSI, > MSI-X, bug hunting...), and in the meantime people can already take a look > at what's done (or half-done). > > I've pushed the whole series to my git repository: > > git://xenbits.xen.org/people/royger/xen.git pvhv2_dom0_rfc > > It contains two patches from Boris and Anthony, that are a pre-requisite to > this series. > > As usual, thanks for taking the time to look into it, hope it doesn't make > your eyes bleed much (slight bleeding is expected). > > Roger. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > https://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |