ia64/xen-unstable

changeset 7416:aa5c62270da7

More removal of BE_DOMAIN flags.
author emellor@leeni.uk.xensource.com
date Mon Oct 17 16:33:27 2005 +0100 (2005-10-17)
parents f726c39670d9
children 1d88f303c39c
files tools/python/xen/xend/XendDomainInfo.py tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Mon Oct 17 16:23:26 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Mon Oct 17 16:33:27 2005 +0100
     1.3 @@ -671,10 +671,6 @@ class XendDomainInfo:
     1.4          self.storeDom("store/ring-ref", ref)
     1.5  
     1.6  
     1.7 -    def getBackendFlags(self):
     1.8 -        return 0
     1.9 -
    1.10 -
    1.11      def refreshShutdown(self, xeninfo = None):
    1.12          # If set at the end of this method, a restart is required, with the
    1.13          # given reason.  This restart has to be done out of the scope of
     2.1 --- a/tools/python/xen/xend/image.py	Mon Oct 17 16:23:26 2005 +0100
     2.2 +++ b/tools/python/xen/xend/image.py	Mon Oct 17 16:33:27 2005 +0100
     2.3 @@ -66,7 +66,6 @@ class ImageHandler:
     2.4          self.kernel = None
     2.5          self.ramdisk = None
     2.6          self.cmdline = None
     2.7 -        self.flags = 0
     2.8  
     2.9          self.configure(imageConfig, deviceConfig)
    2.10  
    2.11 @@ -118,7 +117,6 @@ class ImageHandler:
    2.12          """Build the domain boot image.
    2.13          """
    2.14          # Set params and call buildDomain().
    2.15 -        self.flags = self.vm.getBackendFlags()
    2.16  
    2.17          if not os.path.isfile(self.kernel):
    2.18              raise VmError('Kernel image does not exist: %s' % self.kernel)
    2.19 @@ -180,7 +178,6 @@ class LinuxImageHandler(ImageHandler):
    2.20          log.debug("console_evtchn = %d", console_evtchn)
    2.21          log.debug("cmdline        = %s", self.cmdline)
    2.22          log.debug("ramdisk        = %s", self.ramdisk)
    2.23 -        log.debug("flags          = %d", self.flags)
    2.24          log.debug("vcpus          = %d", self.vm.getVCpuCount())
    2.25  
    2.26          ret = xc.linux_build(dom            = self.vm.getDomid(),
    2.27 @@ -189,7 +186,6 @@ class LinuxImageHandler(ImageHandler):
    2.28                               console_evtchn = console_evtchn,
    2.29                               cmdline        = self.cmdline,
    2.30                               ramdisk        = self.ramdisk,
    2.31 -                             flags          = self.flags,
    2.32                               vcpus          = self.vm.getVCpuCount())
    2.33          if isinstance(ret, dict):
    2.34              self.set_vminfo(ret)
    2.35 @@ -239,7 +235,6 @@ class VmxImageHandler(ImageHandler):
    2.36          log.debug("control_evtchn = %d", self.device_channel)
    2.37          log.debug("store_evtchn   = %d", store_evtchn)
    2.38          log.debug("memsize        = %d", self.vm.getMemoryTarget() / 1024)
    2.39 -        log.debug("flags          = %d", self.flags)
    2.40          log.debug("vcpus          = %d", self.vm.getVCpuCount())
    2.41  
    2.42          ret = xc.vmx_build(dom            = self.vm.getDomid(),
    2.43 @@ -247,7 +242,6 @@ class VmxImageHandler(ImageHandler):
    2.44                             control_evtchn = self.device_channel,
    2.45                             store_evtchn   = store_evtchn,
    2.46                             memsize        = self.vm.getMemoryTarget() / 1024,
    2.47 -                           flags          = self.flags,
    2.48                             vcpus          = self.vm.getVCpuCount())
    2.49          if isinstance(ret, dict):
    2.50              self.set_vminfo(ret)