Recently some people complain that they cannot set the maxmem for domU. The problem is that some code wrongly treat dom.max_memkb as in byte unit, instead of KB unit. This patch fixs the problem. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> $ diffstat maxmem.patch xc_domain.c | 2 +- xc_linux_save.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 7/15/05, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:> > On 15 Jul 2005, at 09:13, aq wrote: > > > Recently some people complain that they cannot set the maxmem for > > domU. The problem is that some code wrongly treat dom.max_memkb as in > > byte unit, instead of KB unit. This patch fixs the problem. > > > > Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> > > The patch fixes a bug, but I doubt it fixes the ''xm balloon'' problem. > Did you test that before and after applying your patch?actually no, i havent looked at the balloon problem yet. will do it soon. regards, aq _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 15 Jul 2005, at 09:13, aq wrote:> Recently some people complain that they cannot set the maxmem for > domU. The problem is that some code wrongly treat dom.max_memkb as in > byte unit, instead of KB unit. This patch fixs the problem. > > Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>The patch fixes a bug, but I doubt it fixes the ''xm balloon'' problem. Did you test that before and after applying your patch? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel