[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4 of 4] tools: Enable superpages for HVM domains by default
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> diff -r 2ee1b330f2d3 -r 454501a50504 tools/libxl/libxl_dom.c --- a/tools/libxl/libxl_dom.c Mon May 16 11:50:46 2011 +0100 +++ b/tools/libxl/libxl_dom.c Mon May 16 11:50:46 2011 +0100 @@ -316,7 +316,7 @@ int libxl__domain_restore_common(libxl__ 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; diff -r 2ee1b330f2d3 -r 454501a50504 tools/xcutils/xc_restore.c --- a/tools/xcutils/xc_restore.c Mon May 16 11:50:46 2011 +0100 +++ b/tools/xcutils/xc_restore.c Mon May 16 11:50:46 2011 +0100 @@ -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); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |