diff options
author | George Dunlap <george.dunlap@eu.citrix.com> | 2011-05-26 15:27:34 +0100 |
---|---|---|
committer | George Dunlap <george.dunlap@eu.citrix.com> | 2011-05-26 15:27:34 +0100 |
commit | be014da159af4d167ddc73326a489be5eff6466f (patch) | |
tree | 2609a645262b684d71fa97e54a615ac6ba33d702 /tools/libxl/libxl_dom.c | |
parent | f35c8f6857b19f2278b73b55bb64d4fc8fb56c75 (diff) | |
download | xen-be014da159af4d167ddc73326a489be5eff6466f.tar.gz xen-be014da159af4d167ddc73326a489be5eff6466f.tar.bz2 xen-be014da159af4d167ddc73326a489be5eff6466f.zip |
tools: Enable superpages for HVM domains by default
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_dom.c')
-rw-r--r-- | tools/libxl/libxl_dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index 87d424b620..e07c4ba878 100644 --- a/tools/libxl/libxl_dom.c +++ b/tools/libxl/libxl_dom.c @@ -340,7 +340,7 @@ int libxl__domain_restore_common(libxl__gc *gc, uint32_t domid, rc = xc_domain_restore(ctx->xch, fd, domid, state->store_port, &state->store_mfn, state->console_port, &state->console_mfn, - info->hvm, info->u.hvm.pae, 0); + info->hvm, info->u.hvm.pae, !!info->hvm); if ( rc ) { LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "restoring domain"); return ERROR_FAIL; |