]> xenbits.xensource.com Git - xen.git/commit
Revert "xen/domctl: Introduce XEN_DOMCTL_CDF_vpci flag"
authorMichal Orzel <michal.orzel@arm.com>
Thu, 14 Oct 2021 08:47:18 +0000 (10:47 +0200)
committerJulien Grall <jgrall@amazon.com>
Thu, 14 Oct 2021 10:08:07 +0000 (10:08 +0000)
commit9516d01ac3015f522528ed6dafb3f584eaa7ed2c
treec0ec8335e4c88e31690cfc47bfac6a56d14d5cf6
parent4cfab4425d39f76660b4e76ba6ee4cbf0f92e7e5
Revert "xen/domctl: Introduce XEN_DOMCTL_CDF_vpci flag"

This reverts commit 2075b410ee8087662c880213c3aca196fb7ade22.

During the discussion [1] that took place after
the patch was merged it was agreed that it should
be reverted to avoid introducing a bad interface.

Furthermore, the patch rejected usage of flag
XEN_DOMCTL_CDF_vpci for x86 which is not true
as it should be set for dom0 PVH.

Due to XEN_DOMCTL_CDF_vpmu being introduced after
XEN_DOMCTL_CDF_vpci, modify its bit position
from 8 to 7.

[1] https://marc.info/?t=163354215300039&r=1&w=2

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com<mailto:christian.lindig@citrix.com>>
Acked-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
tools/ocaml/libs/xc/xenctrl.ml
tools/ocaml/libs/xc/xenctrl.mli
xen/arch/arm/domain.c
xen/arch/x86/domain.c
xen/common/domain.c
xen/include/public/domctl.h