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

[Xen-devel] [PATCH] Convert the type of superpages to integer



Hi,

Starting a domain fails with TypeError as follows.
This patch fixes it.

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


[2009-06-05 20:17:39 3733] ERROR (xmlrpclib2:178) Internal error handling 
xend.domain.start
Traceback (most recent call last):
  File "usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 131, in 
_marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 1039, in 
domain_start
    dominfo.start(is_managed = True)
  File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 458, 
in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line 209, in 
log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2612, 
in _initDomain
    channel_details = self.image.createImage()
  File "usr/lib/python2.4/site-packages/xen/xend/image.py", line 156, in 
createImage
    return self.createDomain()
  File "usr/lib/python2.4/site-packages/xen/xend/image.py", line 175, in 
createDomain
    result = self.buildDomain()
  File "usr/lib/python2.4/site-packages/xen/xend/image.py", line 996, in 
buildDomain
    rc = LinuxImageHandler.buildDomain(self)
  File "usr/lib/python2.4/site-packages/xen/xend/image.py", line 700, in 
buildDomain
    superpages     = self.superpages)
TypeError: an integer is required


Best regards,
 Kan

Attachment: superpages.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®.