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-devel

[Xen-devel] [PATCH] balloon bugfix on -TESTING

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] balloon bugfix on -TESTING
From: aq <aquynh@xxxxxxxxx>
Date: Mon, 18 Jul 2005 15:24:42 +0900
Delivery-date: Mon, 18 Jul 2005 06:23:21 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=qW6Xoj9yYx1Pw+wxoHoF2GwqTwXFtVf4Ivbc7Ud0noAQGUAZwVjKfKbFb4A9Vo+9a8o4vXhXm3lI6q8QyGGDuySkSs65X3CwlbP4itHDI+2/dNlELVofBtHSxrMqoGsh5500ZlqBEvQyGBWE22m6dyu3J9SyBOz/BfgCqSQR0pw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patch is for -testing, to fix some wrong calculates of max_pages
and max_memkb. Now balloon problem goes away (on *testing*).

Unfortunately i cannot confirm the similar fix to -unstable yesterday
is able to fix balloon problem, since i got some troubles creating
domU with the latest -unstable.

Demonstration:

$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       92    0  r----     44.3        
tty                1       40    0  -b---      0.9    9601

$ xm balloon tty 45
bun@dewey2:~/projects/myxen$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       92    0  r----     45.3        
tty                1       45    0  -b---      0.9    9601

bun@dewey2:~/projects/myxen$ xm balloon tty 35
bun@dewey2:~/projects/myxen$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       92    0  r----     46.1        
tty                1       35    0  -b---      0.9    9601


Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>


$ diffstat balloon.patch 
 tools/libxc/xc_domain.c |    2 +-
 xen/common/dom0_ops.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Attachment: balloon.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>