sysctl: report shadow paging capability
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 10 Sep 2019 15:25:38 +0000 (17:25 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 12 Sep 2019 11:27:45 +0000 (12:27 +0100)
commitd974f321a7996e149e71f8773ac8d3448d3a07b7
tree30c201687afa5cbe1738ecbe2ffb70ad5b7db671
parent8e2c94de2619693197d9fbdbec5220e18b77baec
sysctl: report shadow paging capability

Report whether shadow paging is supported by the hypervisor, since it
can be disabled at build time.

Reuse and tweak LIBXL_HAVE_PHYSINFO_CAP_HAP as it hasn't appeared in a
released version of Xen yet.

Requested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_create.c
tools/libxl/libxl_types.idl
tools/ocaml/libs/xc/xenctrl.ml
tools/ocaml/libs/xc/xenctrl.mli
tools/xl/xl_info.c
xen/arch/x86/sysctl.c
xen/include/public/sysctl.h