]> xenbits.xensource.com Git - xen.git/commitdiff
Revert "libxl: disallow enabling PoD and ALTP2M at the same time"
authorWei Liu <wei.liu2@citrix.com>
Thu, 3 Nov 2016 16:13:05 +0000 (16:13 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 3 Nov 2016 16:13:05 +0000 (16:13 +0000)
This reverts commit ff53c65311a32e54dba51f2b8112632e9dd2af3b.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_create.c

index 47c297b4bf1b899995dea9badce4c80ec3d29288..d986cd277bd9ee33e75569dfe5b1b0cd5f16642c 100644 (file)
@@ -885,13 +885,6 @@ static void initiate_domain_create(libxl__egc *egc,
         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.
      */