Hi Andre,
Your patch includes tab-indent in the following lines.
XendDomainInfo.py
+ if numnodes == 0:
+ return nodeload.index( min(nodeload) ) <-- here
+ if self.image.guestnodes > 1:
+ needmem = needmem / self.image.guestnodes <-- here
Best regards,
Kan
Fri, 4 Jul 2008 10:01:06 +0200, Andre Przywara wrote:
>This patch introduces a new config file option called guestnodes.
>Depending on the specified number (which can be 0 (the default) to
>return to current behavior) a set of suitable nodes (which have enough
>memory and are the least used ones) is selected and memory allocation is
>split evenly across these host nodes. CPU affinity is set accordingly.
>
>Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
>
>Regards,
>Andre
>
>--
>Andre Przywara
>AMD-Operating System Research Center (OSRC), Dresden, Germany
>Tel: +49 351 277-84917
>----to satisfy European Law for business letters:
>AMD Saxony Limited Liability Company & Co. KG,
>Wilschdorfer Landstr. 101, 01109 Dresden, Germany
>Register Court Dresden: HRA 4896, General Partner authorized
>to represent: AMD Saxony LLC (Wilmington, Delaware, US)
>General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
>
>-------------------------------text/plain-------------------------------
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|