case HVM_PARAM_BUFIOREQ_PFN:
xc_clear_domain_page(xch, ctx->domid, entry->value);
break;
+
+ case HVM_PARAM_PAE_ENABLED:
+ /*
+ * This HVM_PARAM only ever existed to pass data into
+ * xc_cpuid_apply_policy(). The function has now been updated to
+ * use a normal calling convention, making the param obsolete.
+ *
+ * Discard if we find it in an old migration stream.
+ */
+ continue;
}
rc = xc_hvm_param_set(xch, ctx->domid, entry->index, entry->value);
HVM_PARAM_ACPI_IOPORTS_LOCATION,
HVM_PARAM_VIRIDIAN,
HVM_PARAM_IDENT_PT,
- HVM_PARAM_PAE_ENABLED,
HVM_PARAM_VM_GENERATION_ID_ADDR,
HVM_PARAM_IOREQ_SERVER_PFN,
HVM_PARAM_NR_IOREQ_SERVER_PAGES,
libxl_ctx *ctx = libxl__gc_owner(gc);
xc_interface *xch = ctx->xch;
int ret = ERROR_FAIL;
- bool pae = true, altp2m = info->altp2m;
+ bool altp2m = info->altp2m;
switch(info->type) {
case LIBXL_DOMAIN_TYPE_HVM:
- pae = libxl_defbool_val(info->u.hvm.pae);
-
/* The config parameter "altp2m" replaces the parameter "altp2mhvm". For
* legacy reasons, both parameters are accepted on x86 HVM guests.
*
/* Fallthrough */
case LIBXL_DOMAIN_TYPE_PVH:
- if (xc_hvm_param_set(xch, domid, HVM_PARAM_PAE_ENABLED, pae)) {
- LOG(ERROR, "Couldn't set HVM_PARAM_PAE_ENABLED");
- goto out;
- }
if (xc_hvm_param_set(xch, domid, HVM_PARAM_TIMER_MODE,
timer_mode(info))) {
LOG(ERROR, "Couldn't set HVM_PARAM_TIMER_MODE");
case HVM_PARAM_X87_FIP_WIDTH:
break;
/* The following parameters are deprecated. */
+ case HVM_PARAM_PAE_ENABLED:
case HVM_PARAM_DM_DOMAIN:
case HVM_PARAM_MEMORY_EVENT_CR0:
case HVM_PARAM_MEMORY_EVENT_CR3:
case HVM_PARAM_X87_FIP_WIDTH:
break;
/* The following parameters are deprecated. */
+ case HVM_PARAM_PAE_ENABLED:
case HVM_PARAM_DM_DOMAIN:
case HVM_PARAM_MEMORY_EVENT_CR0:
case HVM_PARAM_MEMORY_EVENT_CR3:
/* These parameters are deprecated and their meaning is undefined. */
#if defined(__XEN__) || defined(__XEN_TOOLS__)
+#define HVM_PARAM_PAE_ENABLED 4
#define HVM_PARAM_DM_DOMAIN 13
#define HVM_PARAM_MEMORY_EVENT_CR0 20
#define HVM_PARAM_MEMORY_EVENT_CR3 21
#define HVM_PARAM_STORE_PFN 1
#define HVM_PARAM_STORE_EVTCHN 2
-#define HVM_PARAM_PAE_ENABLED 4
-
#define HVM_PARAM_IOREQ_PFN 5
#define HVM_PARAM_BUFIOREQ_PFN 6