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

[Xen-changelog] [xen-unstable] xend: Convert the type of superpages to integer to fix a TypeError.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1244190636 -3600
# Node ID 21d1fcb0be4179a7122cbab1fd3aa4adff1c338a
# Parent  4fb8a6c993e21e18b5eefddd6d5df20e7f8c7848
xend: Convert the type of superpages to integer to fix a TypeError.

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4fb8a6c993e2 -r 21d1fcb0be41 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Fri Jun 05 09:29:42 2009 +0100
+++ b/tools/python/xen/xend/image.py    Fri Jun 05 09:30:36 2009 +0100
@@ -665,7 +665,7 @@ class LinuxImageHandler(ImageHandler):
         ImageHandler.configure(self, vmConfig)
         self.vramsize = int(vmConfig['platform'].get('videoram',4)) * 1024
         self.is_stubdom = (self.kernel.find('stubdom') >= 0)
-        self.superpages = vmConfig['superpages']
+        self.superpages = int(vmConfig['superpages'])
 
     def buildDomain(self):
         store_evtchn = self.vm.getStorePort()

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


 


Rackspace

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