|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-api
[Xen-API] configure the cpu number of virtual machine by xen-XEMRPC	API 
| | Hi, guys. I configure the CPU number of the virtual machine by xen-XMLRPC API.
 But it doesn't work. I try the methods "set_VCPUs_number_live",
 "set_VCPUs_max" and "set_VCPUs_at_startup". They all fail to achieve my
 purpose.
 
 There are some fragements of my code.
 ______________________________
 
 Object[] params = new Object[] { sessionRef, vmRef, num};
 HashMap<String, Object> result = (HashMap<String, Object>) client.execute("VM.set_VCPUs_max", params);
 String status = (String) result.get("Status");
 ______________________________
 Do anyone can help me?
 Thank you!
 
 Best regards!
 Bingbing Wang (王兵兵)
 
 MSN: cn_wood_001@xxxxxxxxxxx
 ICQ : cn_wood_001@xxxxxxxxxxx
 
 
 
 
 
 Get news, entertainment and everything you care about at Live.com. Check it out!
 | 
 _______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-API] configure the cpu number of virtual machine by xen-XEMRPC	API,
_wood cn <=
 |  |  | 
  
    |  |  |