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] PoD with Windows Balloon

To: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: [Xen-devel] PoD with Windows Balloon
From: Chu Rui <ruichu@xxxxxxxxx>
Date: Tue, 30 Nov 2010 19:05:30 +0800
Cc:
Delivery-date: Tue, 30 Nov 2010 03:06:49 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=xaagB8w3XOB97hKej42B3K+4D5I4qCnCji5FGxIRHck=; b=d7T2n5xjlxfo+cXmnCYCXi3seNefA5UVpGpPdB+RSG22MeiWlfAJVV0IIwJiWVzd+L 2IdLK8g2Y2K+1GEsfs3Z0GJy4z9c1jHcijVR9nNVYfVpCFwtzvQ0nVJbbyYBX5ApOfPS Ik3d4QtcpHMA7qY+vwe7EhqBDIK7wjl8HZj3Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gHlKQm7Mumjd/SM2eDLzWArqk7yOCfICSCZ3FFGe0ar9Yirez3bSG4Orc8sr5l9gZk eqWM36pf/nP4nTRbw5t2fJhPJNb8ntcyrk1pSjQjw3rEQEYUG1KmP5wCXpVTpYjGY39o x7mr7uPLcnrK5pSOQA9nrYjq0QvthS/7on238=
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
I have tried PoD in Windows/HVM. My VMM is XEN 4.0.0, Domain0 is RHEL 5.4/kernel 2.6.31, and DomainU is Windows 2003.
It does not work well as in Linux/HVM. The primary problem looks in the balloon driver, which was obtained from http://xenbits.xensource.com/ext/win-pvdrivers.hg
 
In my configuration, memory=512M, and maxmem=2G. After booted, I want to inflate the balloon with the target=390M, but the balloon driver does not work correctly.
It becomes clear after I get the debug messges from the balloon driver as this:
 
00000000 0.00000000 XenPCI --> XenPci_BalloonHandler 
00000001 0.00153629 XenPCI     target memory value = 390 (400000) 
00000002 0.00619057 XenPCI <-- XenPci_BalloonHandler 
00000003 0.00619715 XenPCI     Got balloon event, current = 512, target = 390 
00000004 0.00858740 XenPCI     Trying to give 122 MB to Xen 
00000005 0.00968578 XenPCI     Calling HYPERVISOR_memory_op(XENMEM_decrease_reservation) - pfn_count = 256 
00000006 0.02019652 XenPCI     decreased 256 pages 
......
 
Obviously, the balloon driver thinks that the system has(target) only 512M memory when booted, thus the balloon size was 122MB, not 2G-390M. Is it a bug of the Windows balloon driver? Does it work if I simply modify the source code to make the initial target value as 2G?
 
Thanks.
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>