[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Qemu-devel] [RFC QEMU PATCH v3 00/10] Implement vNVDIMM for Xen HVM guest
On 18/10/2017 10:32, Roger Pau Monné wrote: >> I'll have a try to check how much the differences would affect. If it >> would not take too much work, I'd like to adapt Xen NVDIMM enabling >> patches to the all QEMU built ACPI. Otherwise, I'll fall back to Paolo >> and MST's suggestions. > I don't agree with the end goal of fully switching to the QEMU build > ACPI tables. First of all, the only entity that has all the > information about the guest it's the toolstack, and so it should be > the one in control of the ACPI tables. > > Also, Xen guests can use several device models concurrently (via the > ioreq server interface), and each should be able to contribute to the > information presented in the ACPI tables. Intel is also working on > adding IOMMU emulation to the Xen hypervisor, in which case the vIOMMU > ACPI tables should be created by the toolstack and not QEMU. And > finally keep in mind that there are Xen guests (PVH) that use ACPI > tables but not QEMU. I agree with this in fact; QEMU has a view of _most_ of the emulated hardware, but not all. However, I disagree that the toolstack should be alone in controlling the ACPI tables; rather, each involved part of the stack should be providing its own part of the tables. For example, QEMU (in addition to NVDIMM information) should be the one providing an SSDT for southbridge devices (floppy, COMx, LPTx, etc.). The Xen stack (or more likely, hvmloader itself) would provide all the bits that are provided by the hypervisor (MADT for the IOAPIC, another SSDT for the HPET and RTC, DMAR tables for IOMMU, and so on). This should also work just fine for PVH. Of course backwards compatibility is the enemy of simplification, but in the end things _should_ actually be simpler and I think it's a good idea if a prerequisite for Xen vNVDIMM is to move AML code for QEMU devices out of hvmloader. Paolo _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |