WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix xm create/start with sedf scheduler

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix xm create/start with sedf scheduler
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Mon, 29 Jan 2007 17:59:29 +0900
Delivery-date: Mon, 29 Jan 2007 00:59:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

When I tested the Xen with the sedf scheduler, I was not able to 
create a VM. Error messages and xend.log are as follows. 

xm create command:
 # xm create /xen/vm1.conf 
 Using config file "/xen/vm1.conf".
 Error: (22, 'Invalid argument')

 [2007-01-29 17:01:22 5129] ERROR (XendDomain:1363) (22, 'Invalid argument')
 Traceback (most recent call last):
   File "//usr/lib/python/xen/xend/XendDomain.py", line 1361, in 
domain_sched_credit_set
     return xc.sched_credit_domain_set(dominfo.getDomid(), weight, cap)
 Error: (22, 'Invalid argument')

xm start command:
 # xm new /xen/vm1.conf 
 Using config file "/xen/vm1.conf".
 # xm list
 Name                                      ID   Mem VCPUs      State   Time(s)
 Domain-0                                   0   747     2     r-----     75.0
 vm1                                            256     2                 0.0
 # xm start vm1
 Error: (22, 'Invalid argument')
 Usage: xm start <DomainName>
 
 Start a Xend managed domain
   -p, --paused                   Do not unpause domain after starting it

 [2007-01-29 17:04:49 5129] ERROR (XendDomain:1363) (22, 'Invalid argument')
 Traceback (most recent call last):
   File "//usr/lib/python/xen/xend/XendDomain.py", line 1361, in 
domain_sched_credit_set
     return xc.sched_credit_domain_set(dominfo.getDomid(), weight, cap)
 Error: (22, 'Invalid argument')


I fixed the issues. If the Xen is running with the sedf scheduler, 
the following functions do not call the domain_sched_credit_set(). 
 - domain_create()
 - domain_create_from_dict()
 - domain_start()


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: xm_create_with_sedf.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix xm create/start with sedf scheduler, Masaki Kanno <=