From: Masaki Kanno Subject: [PATCH] Remove misleading codes from XendDomainInfo.py Date: Fri, 08 Feb 2008 15:30:18 +0900 Message-ID: <64C86A1C12D087kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, I think that the following codes are misleading because xc_domain_setcpuweight() does not set cpuweight. Currently we set cpuweight by using the functions in accordance with a scheduler type. Could you remove the following codes? Signed-off-by: Masaki Kanno Best regards, Kan diff -r 8e4cd0658c41 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Thu Feb 07 18:57:12 2008 +0000 +++ b/tools/python/xen/xend/XendDomainInfo.py Fri Feb 08 13:25:18 2008 +0900 @@ -1750,9 +1750,6 @@ class XendDomainInfo: self.image = image.create(self, self.info) - xc.domain_setcpuweight(self.domid, \ - self.info['vcpus_params']['weight']) - # repin domain vcpus if a restricted cpus list is provided # this is done prior to memory allocation to aide in memory # distribution for NUMA systems.