]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
x86/pvh: declare PVH dom0 supported with caveats
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 10 Jun 2024 11:29:25 +0000 (13:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Jun 2024 11:29:25 +0000 (13:29 +0200)
PVH dom0 is functionally very similar to PVH domU except for the domain
builder and the added set of hypercalls available to it.

The main concern with declaring it "Supported" is the lack of some features
when compared to classic PV dom0, hence switch it's status to supported with
caveats.  List the known missing features, there might be more features missing
or not working as expected apart from the ones listed.

Note there's some (limited) PVH dom0 testing on both osstest and gitlab.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
CHANGELOG.md
SUPPORT.md
xen/arch/x86/hvm/dom0_build.c

index 201478aa1c0e34b0844bdbb7ba90ff486ab9db94..1778419cae644b10a85e0275b0a11c727852b52f 100644 (file)
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    - HVM PIRQs are disabled by default.
    - Reduce IOMMU setup time for hardware domain.
    - Allow HVM/PVH domains to map foreign pages.
+   - Declare PVH dom0 supported with caveats.
  - xl/libxl configures vkb=[] for HVM domains with priority over vkb_device.
  - Increase the maximum number of CPUs Xen can be built for from 4095 to
    16383.
index d5d60c62ec111a4384145f953f571cf1a265d445..711aacf34662adfe5e2dfb37984f65cf0b4eb578 100644 (file)
@@ -161,7 +161,20 @@ Requires hardware virtualisation support (Intel VMX / AMD SVM).
 Dom0 support requires an IOMMU (Intel VT-d / AMD IOMMU).
 
     Status, domU: Supported
-    Status, dom0: Experimental
+    Status, dom0: Supported, with caveats
+
+PVH dom0 hasn't received the same test coverage as PV dom0, so it can exhibit
+unexpected behavior or issues on some hardware.
+
+At least the following features are missing on a PVH dom0:
+
+  * PCI SR-IOV and Resizable BARs.
+
+  * Native NMI forwarding (nmi=dom0 command line option).
+
+  * MCE handling.
+
+  * PCI Passthrough to any kind of domUs.
 
 ### ARM
 
index 6acbaceb94c1e8144a9f6adbbaec43df314ac185..f3eddb6846860c80532826df0945756d4e621d0e 100644 (file)
@@ -1360,7 +1360,6 @@ int __init dom0_construct_pvh(struct domain *d, const module_t *image,
         print_e820_memory_map(d->arch.e820, d->arch.nr_e820);
     }
 
-    printk("WARNING: PVH is an experimental mode with limited functionality\n");
     return 0;
 }