arm: fix Dom0 creation after ef72c93df9
authorWei Liu <wei.liu2@citrix.com>
Mon, 22 Oct 2018 13:40:21 +0000 (14:40 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 22 Oct 2018 13:43:40 +0000 (14:43 +0100)
commit76bfbcec423e83c4ed975645ebf5a9a4ad2494f7
treed26ebba3bf6f26cd5ba70383df3f60cf92fe516a
parent8cd9500958d818e3deabdd0d4164ea6fe1623d7c
arm: fix Dom0 creation after ef72c93df9

ARM Dom0 creation was broken by the said commit because ARM neither
provided XEN_DOMCTL_CDF_hvm_guest nor had CONFIG_PV set.

Set XEN_DOMCTL_CDF_hvm_guest flag for ARM Dom0 to fix the issue. Also
set XEN_DOMCTL_CDF_hap while at it.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/setup.c