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] libxl: do not modify static-max after dom

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxl: do not modify static-max after domain creation
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Oct 2010 14:55:54 -0700
Delivery-date: Sat, 09 Oct 2010 15:02:02 -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 Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1285172841 -3600
# Node ID 4f90c1fde133cc50706f00c95af601545856e561
# Parent  68cd8ae1b6203aa1f730ff4c044f023c81e3738d
libxl: do not modify static-max after domain creation

static-max represents the maximum memory the domain can ever have,
therefore it shouldn't be changed after domain creation.

[adjusted to cope with code movement since patch series written -iwj]

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl.c |    3 ---
 1 files changed, 3 deletions(-)

diff -r 68cd8ae1b620 -r 4f90c1fde133 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Wed Sep 22 17:23:22 2010 +0100
+++ b/tools/libxl/libxl.c       Wed Sep 22 17:27:21 2010 +0100
@@ -2768,9 +2768,6 @@ int libxl_domain_setmaxmem(libxl_ctx *ct
         goto out;
     }
 
-    if (domid != 0)
-        libxl__xs_write(&gc, XBT_NULL, libxl__sprintf(&gc, 
"%s/memory/static-max", dompath), "%"PRIu32, max_memkb);
-
     rc = 0;
 out:
     libxl__free_all(&gc);

_______________________________________________
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] libxl: do not modify static-max after domain creation, Xen patchbot-unstable <=