That combination would cause Xen to crash.
Note that although this is a security issue, is not XSA-worthy because
ALTP2M is experimental.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
goto error_out;
}
+ if (d_config->c_info.type == LIBXL_DOMAIN_TYPE_HVM &&
+ libxl_defbool_val(d_config->b_info.u.hvm.altp2m) &&
+ pod_enabled) {
+ LOG(ERROR, "Cannot enable PoD and ALTP2M at the same time");
+ goto error_out;
+ }
+
/* PV vNUMA is not yet supported because there is an issue with
* cpuid handling.
*/