aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xcutils
diff options
context:
space:
mode:
authorGeorge Dunlap <george.dunlap@eu.citrix.com>2011-05-26 15:27:34 +0100
committerGeorge Dunlap <george.dunlap@eu.citrix.com>2011-05-26 15:27:34 +0100
commitbe014da159af4d167ddc73326a489be5eff6466f (patch)
tree2609a645262b684d71fa97e54a615ac6ba33d702 /tools/xcutils
parentf35c8f6857b19f2278b73b55bb64d4fc8fb56c75 (diff)
downloadxen-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/xcutils')
-rw-r--r--tools/xcutils/xc_restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xcutils/xc_restore.c b/tools/xcutils/xc_restore.c
index ea069ac8f5..985cbecb11 100644
--- a/tools/xcutils/xc_restore.c
+++ b/tools/xcutils/xc_restore.c
@@ -43,7 +43,7 @@ main(int argc, char **argv)
if ( argc == 9 )
superpages = atoi(argv[8]);
else
- superpages = 0;
+ superpages = !!hvm;
ret = xc_domain_restore(xch, io_fd, domid, store_evtchn, &store_mfn,
console_evtchn, &console_mfn, hvm, pae, superpages);