On Mon, Oct 10, 2005 at 12:46:39PM +0200, Kurt Garloff wrote:
> Hi,
>
> when using xm mem-set on current (7278) unstable, you'll see
>
> [2005-10-10 10:25:51 xend] ERROR (SrvBase:87) Request mem_target_set failed.
> 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", line
> 132, in op_mem_target_set
> return self.call(self.dom.setMemoryTarget
> TypeError: unsubscriptable object
>
> in xend.log.
>
> The fix is trivial, a comma is missing, see (first) attached patch.
>
>
> 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 watch
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 bugs
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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|