2 messages in com.xensource.lists.xen-devel[Xen-devel] xc_dom_create.py cpu flag
FromSent OnAttachments
David Becker20 May 2004 07:52 
Rolf Neugebauer20 May 2004 08:07 
Subject:[Xen-devel] xc_dom_create.py cpu flag
From:David Becker (bec@cs.duke.edu)
Date:05/20/2004 07:52:54 AM
List:com.xensource.lists.xen-devel

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?