xend: fix ballooning bug
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 13 Jan 2009 15:29:06 +0000 (15:29 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 13 Jan 2009 15:29:06 +0000 (15:29 +0000)
commit47cee35ef03c542098077bdcf137eaf0f42155ce
treeed39deeb17651f635590e4648cde2e21347a897e
parent542f7a560fe424158b1093e2a3c8be36ba187e0c
xend: fix ballooning bug

c/s 18960 introduced a bug when xend balloons memory. The function
balloon.free requires a reference to a XendDomainInfo object, which is
missing in one call of this function. Attached patch fixes this. Also
replaced the variable name "self" in the (classless) function with
something more descriptive.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Reported-by: Maik Hentsche <maik.hentsche@amd.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/balloon.py