[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix for op_pincpu in SrvDomain.py



Hi,

op_pincpu method in SrvDomain.py does not currently work because 
op_pincpu method gives string objects to a cpumap argument of 
domain_pincpu method in XendDomain.py though the cpumap argument 
expects list objects. 

This patch solves the above problem as follows. 

op_pincpu method gives string objects to the cpumap argument as is, 
because op_pincpu method cannot give list objects to the cpumap 
argument. 
Instead, domain_pincpu method expects that the cpumap argument is 
string objects, then domain_pincpu method converts the cpumap 
argument into list objects. 
Also, the patch modifies two methods (except for op_pincpu method) 
calling domain_pincpu method.  The methods give string objects to 
the cpumap argument instead of list objects. 

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

Best regards,
 Kan

Attachment: fix_pincpu.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.