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 for op_pincpu in SrvDomain.py

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix for op_pincpu in SrvDomain.py
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Mon, 27 Apr 2009 18:23:13 +0900
Delivery-date: Mon, 27 Apr 2009 02:23:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix for op_pincpu in SrvDomain.py, Masaki Kanno <=