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

Re: [Xen-devel] [PATCH v3 5/7] x86/dom0: Improve dom0= useability



>>> On 16.01.19 at 10:00, <andrew.cooper3@xxxxxxxxxx> wrote:
> --- a/docs/misc/xen-command-line.pandoc
> +++ b/docs/misc/xen-command-line.pandoc
> @@ -637,21 +637,23 @@ trace feature is only enabled in debugging builds of 
> Xen.
>  Specify the bit width of the DMA heap.
>  
>  ### dom0
> -    = List of [ pvh=<bool>, shadow=<bool>, verbose=<bool> ]
> +    = List of [ pv | pvh, shadow=<bool>, verbose=<bool> ]
>  
>      Applicability: x86
>  
>  Controls for how dom0 is constructed on x86 systems.
>  
> -*   The `pvh` boolean controls whether dom0 is constructed as a PV or a PVH
> -    guest.  The default is PV.  In addition, the following requirements must
> -    be met:
> +*   The `pv` and `pvh` options select the virtualisation mode of dom0.
> +
> +    The `pv` option is only available when `CONFIG_PV` is compiled in.  The
> +    `pvh` option is only available when `CONFIG_HVM` is compiled in.  When
> +    both options are compiled in, the default is PV.

Seeing that the CONFIG_* here merely move up from ...

> +    In addition, the following requirements must be met:
>  
>      *   The dom0 kernel selected by the boot loader must be capable of the
>          selected mode.
> -    *   For a PV dom0, Xen must have been compiled with `CONFIG_PV` enabled.
> -    *   For a PVH dom0, Xen must have been compiled with `CONFIG_HVM` 
> enabled,

... here, the patch as a whole can have my
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Of course if an overall decision is taken to avoid mention of
CONFIG_* here I'd appreciate if you did respective adjustments
here as well.

> -        and the hardware must have VT-x/SVM extensions available.
> +    *   For a PVH dom0, the hardware must have VT-x/SVM extensions available.
>  
>  *   The `shadow` boolean is only applicable when dom0 is constructed as a PVH
>      guest, and controls whether dom0 uses hardware assisted paging, or shadow

As an aside - is this restriction still necessary, now that the code
was fixed to allow shadow enabling for L1TF even for Dom0?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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