From: Masaki Kanno Subject: Re: [PATCH] Fix xm start command Date: Sun, 28 Jan 2007 17:10:29 +0900 Message-ID: <8CC742B3C669CCkanno.masaki@jp.fujitsu.com> References: <79C73F81929087kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <79C73F81929087kanno.masaki@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Masaki Kanno , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, Could you comment this patch? If no comment, I would appreciate it if you could apply this patch for the xm start command. Best regards, Kan >Hi, > >When I tested the xm start command, I found a small bug. >It's not able to set scheduler parameters (cpu_weight and >cpu_cap). > ># xm new /xen/vm1.conf cpu_weight=512 cpu_cap=150 >Using config file "/xen/vm1.conf". ># xm start vm1 ># xm sched-credit -d vm1 >Name ID Weight Cap >vm1 1 256 0 > > >I fixed it. Test result is as follows. > ># xm new /xen/vm1.conf cpu_weight=512 cpu_cap=150 >Using config file "/xen/vm1.conf". ># xm start vm1 ># xm sched-credit -d vm1 >Name ID Weight Cap >vm1 2 512 150 > >Signed-off-by: Masaki Kanno > >Best regards, > Kan > > >-------------------------------text/plain------------------------------- >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel