From: Ewan Mellor Subject: Re: unstable: no ballooning Date: Wed, 12 Oct 2005 14:06:13 +0100 Message-ID: <20051012130612.GE20479@uk.xensource.com> References: <20051010104639.GA18307@tpkurt.garloff.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20051010104639.GA18307@tpkurt.garloff.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Kurt Garloff List-Id: xen-devel@lists.xenproject.org On Mon, Oct 10, 2005 at 12:46:39PM +0200, Kurt Garloff wrote: > Hi, >=20 > when using xm mem-set on current (7278) unstable, you'll see >=20 > [2005-10-10 10:25:51 xend] ERROR (SrvBase:87) Request mem_target_set fail= ed. > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85, in= perform > return op_method(op, req) > File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomain.py", l= ine 132, in op_mem_target_set > return self.call(self.dom.setMemoryTarget > TypeError: unsubscriptable object >=20 > in xend.log. >=20 > The fix is trivial, a comma is missing, see (first) attached patch. >=20 >=20 > HOWEVER, this still does not make balllooning work. > Nobody ever writes to /proc/xen/balloon. Kurt, could you please retest with today's unstable? I have put your first patch in (thanks for that) and we have made some changes to the xenstore wa= tch interface recently, so that may help with the second problem. The idea is that the memory/target value gets written by Xend, and and the balloon driver holds a watch on that value in the store. When the watch fires, the balloon driver should respond by setting the new target (drivers/xen/balloon/balloon.c:watch_target). Watches have been broken in various ways over the last few days, and the bu= gs we know about there have now been fixed, so I would be interested to know whether your bug has been fixed in the process. Cheers, Ewan.