[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v12 18/18] xen/pvh: Support ParaVirtualized Hardware extensions (v2).
On Thu, Jan 02, 2014 at 11:48:50AM +0000, David Vrabel wrote: > On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: > > From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> > > > > PVH allows PV linux guest to utilize hardware extended capabilities, > > such as running MMU updates in a HVM container. > > > > The Xen side defines PVH as (from docs/misc/pvh-readme.txt, > > with modifications): > > > > "* the guest uses auto translate: > > - p2m is managed by Xen > > - pagetables are owned by the guest > > - mmu_update hypercall not available > > * it uses event callback and not vlapic emulation, > > * IDT is native, so set_trap_table hcall is also N/A for a PVH guest. > > > > For a full list of hcalls supported for PVH, see pvh_hypercall64_table > > in arch/x86/hvm/hvm.c in xen. From the ABI prespective, it's mostly a > > PV guest with auto translate, although it does use hvm_op for setting > > callback vector." > > > > Use .ascii and .asciz to define xen feature string. Note, the PVH > > string must be in a single line (not multiple lines with \) to keep the > > assembler from putting null char after each string before \. > > This patch allows it to be configured and enabled. > > > > Lastly remove some of the scaffolding. > [...] > > --- a/arch/x86/xen/Kconfig > > +++ b/arch/x86/xen/Kconfig > > @@ -51,3 +51,11 @@ config XEN_DEBUG_FS > > Enable statistics output and various tuning options in debugfs. > > Enabling this option may incur a significant performance overhead. > > > > +config XEN_PVH > > + bool "Support for running as a PVH guest" > > + depends on X86_64 && XEN && XEN_PVHVM > > Would select XEN_PVHVM be more useful? It may not be obvious to a user Sure. > that PV with hardware extension depends on HVM with PV extensions. > > > + default n > > + help > > + This option enables support for running as a PVH guest (PV guest > > + using hardware extensions) under a suitably capable hypervisor. > > + If unsure, say N. > > This help text needs to clearly state that PVH support is experimental > or a tech preview and the ABI is subject to change and PVH guests may > not run on newer hypervisors. Unless the plan is to only merge the > Linux support once the hypervisor ABI is finalized. I am very much comfortable marking it as experimental and tech preview with the caveat that it: 1) will change (or probably) in the future of Xen versions, and 2) won't cause regressions with older hypervisors. In other words, enabling this option should not make the kernel stop working with say Xen 4.1. [Which we need to fix of course] > > David _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |