[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH]: libxl: fix dom0 minimum memory threshold check



On Fri, 22 Oct 2010, Gianni Tedesco wrote:
> libxl_set_memory_target tries to set the memory target for a given
> domain to new_target_memkb. The function includes a check to make sure
> that dom0's memory is not reduced below a minimal threshold ie.
> LIBXL_MIN_DOM0_MEM. However, this check is performed before the
> new_target_memkb variable is properly initialised - when the value is
> always zero. This means that the check always fails. Fix this by moving
> the test to happen after the proper initialisation of new_target_memkb.
> 
> Signed-off-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
> 

I wonder what caused this block misplacement, maybe patch or hg import?
Anyway:

Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.