ia64/xen-unstable

changeset 19735:21d1fcb0be41

xend: Convert the type of superpages to integer to fix a TypeError.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 05 09:30:36 2009 +0100 (2009-06-05)
parents 4fb8a6c993e2
children 9f4c5734e4aa
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Fri Jun 05 09:29:42 2009 +0100
     1.2 +++ b/tools/python/xen/xend/image.py	Fri Jun 05 09:30:36 2009 +0100
     1.3 @@ -665,7 +665,7 @@ class LinuxImageHandler(ImageHandler):
     1.4          ImageHandler.configure(self, vmConfig)
     1.5          self.vramsize = int(vmConfig['platform'].get('videoram',4)) * 1024
     1.6          self.is_stubdom = (self.kernel.find('stubdom') >= 0)
     1.7 -        self.superpages = vmConfig['superpages']
     1.8 +        self.superpages = int(vmConfig['superpages'])
     1.9  
    1.10      def buildDomain(self):
    1.11          store_evtchn = self.vm.getStorePort()