WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] tools: Enable superpages for HVM domains

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools: Enable superpages for HVM domains by default
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Thu, 16 Jun 2011 11:11:59 +0100
Delivery-date: Thu, 16 Jun 2011 03:19:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User George Dunlap <george.dunlap@xxxxxxxxxxxxx>
# Date 1306420054 -3600
# Node ID 85cb287300eb2caf5c53303f6bb1279104946b36
# Parent  62678c86fc6ec6e3f8356e985a4095128cccfed3
tools: Enable superpages for HVM domains by default

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
---


diff -r 62678c86fc6e -r 85cb287300eb tools/libxl/libxl_dom.c
--- a/tools/libxl/libxl_dom.c   Thu May 26 15:27:33 2011 +0100
+++ b/tools/libxl/libxl_dom.c   Thu May 26 15:27:34 2011 +0100
@@ -340,7 +340,7 @@
     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 62678c86fc6e -r 85cb287300eb tools/xcutils/xc_restore.c
--- a/tools/xcutils/xc_restore.c        Thu May 26 15:27:33 2011 +0100
+++ b/tools/xcutils/xc_restore.c        Thu May 26 15:27:34 2011 +0100
@@ -43,7 +43,7 @@
     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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools: Enable superpages for HVM domains by default, Xen patchbot-unstable <=