x86/vtx: Improvements to ept= command line handling
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Dec 2018 15:08:50 +0000 (15:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 27 Dec 2018 10:20:03 +0000 (10:20 +0000)
commit3136dee9cf89e21e185dea30585795f07e30b79e
treed64fa3549acfa09a69ed201d65fa725f45a50b11
parent7f28661f6a7ce3d82f881b9afedfebca7f2cf116
x86/vtx: Improvements to ept= command line handling

Switch parse_ept_param() to use the parse_boolean() infrastructure for more
consistency with related command line parameters.  Rename opt_pml_enabled to
opt_ept_pml for consistency with opt_ept_ad, and switch it to being bool

Drop the leading comment for parse_ept_param().  It is stale, and just repeats
the command line documentation.

For the command line documentation, rewrite it largely from scratch, updating
to the latest metadata style.  Document A/D first, including a note about
AVR41, and modify PML to note its dependency on A/D.

No practical changes to behaviour.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/hvm/vmx/vmcs.c