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] xc_dom_create.py cpu flag

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xc_dom_create.py cpu flag
From: David Becker <becker@xxxxxxxxxxx>
Date: Thu, 20 May 2004 10:53:16 -0400
Delivery-date: Thu, 20 May 2004 15:55:19 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Mail-followup-to: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.5.1+cvs20040105i
I pulled unstable yesterday and noticed xc_dom_create.py does not have
a default value for cpu, so python complains 
 Traceback (most recent call last):
   File "/usr/bin/xc_dom_create.py", line 408, in ?
     (current_id, current_port) = make_domain()
   File "/usr/bin/xc_dom_create.py", line 234, in make_domain
     id = xc.domain_create( mem_kb=mem_size*1024, name=domain_name, cpu=cpu )
 NameError: global name 'cpu' is not defined

Using the -C flag to set cpu gets a usage message, because the C flag is not in
the getopt list.

When I add C to getopt and use -C on the cmd line, all is well.


Is the default of round-robin cpu assignment going away?



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>