xen/domctl: Introduce and use XEN_DOMCTL_CDF_nested_virt
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Aug 2018 14:30:14 +0000 (14:30 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 6 Oct 2020 11:28:37 +0000 (12:28 +0100)
commitdbe399b174e471c97d63a3e3f2c00cd8c753106c
tree787689bf9e49a1ea0208a92830ff9cbf1c2abf41
parent45264e0669c0874c9058f7c7de24d5c45a425664
xen/domctl: Introduce and use XEN_DOMCTL_CDF_nested_virt

Like other major areas of functionality, nested virt (or not) needs to be
known at domain creation time for sensible CPUID handling, and wants to be
known this early for sensible infrastructure handling in Xen.

Introduce XEN_DOMCTL_CDF_nested_virt and modify libxl to set it appropriately
when creating domains.  There is no need to adjust the ARM logic to reject the
use of this new flag.

No functional change yet.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
tools/libs/light/libxl_create.c
tools/ocaml/libs/xc/xenctrl.ml
tools/ocaml/libs/xc/xenctrl.mli
xen/arch/x86/domain.c
xen/common/domain.c
xen/include/public/domctl.h