WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] More removal of BE_DOMAIN flags.

# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID aa5c62270da72a79f43002886a5aaf705c6b8d38
# Parent  f726c39670d9cfa658ce37d1acfa40053b26458b
More removal of BE_DOMAIN flags.

diff -r f726c39670d9 -r aa5c62270da7 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Mon Oct 17 15:23:26 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Mon Oct 17 15:33:27 2005
@@ -669,10 +669,6 @@
     def setStoreRef(self, ref):
         self.store_mfn = ref
         self.storeDom("store/ring-ref", ref)
-
-
-    def getBackendFlags(self):
-        return 0
 
 
     def refreshShutdown(self, xeninfo = None):
diff -r f726c39670d9 -r aa5c62270da7 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Mon Oct 17 15:23:26 2005
+++ b/tools/python/xen/xend/image.py    Mon Oct 17 15:33:27 2005
@@ -66,7 +66,6 @@
         self.kernel = None
         self.ramdisk = None
         self.cmdline = None
-        self.flags = 0
 
         self.configure(imageConfig, deviceConfig)
 
@@ -118,7 +117,6 @@
         """Build the domain boot image.
         """
         # Set params and call buildDomain().
-        self.flags = self.vm.getBackendFlags()
 
         if not os.path.isfile(self.kernel):
             raise VmError('Kernel image does not exist: %s' % self.kernel)
@@ -180,7 +178,6 @@
         log.debug("console_evtchn = %d", console_evtchn)
         log.debug("cmdline        = %s", self.cmdline)
         log.debug("ramdisk        = %s", self.ramdisk)
-        log.debug("flags          = %d", self.flags)
         log.debug("vcpus          = %d", self.vm.getVCpuCount())
 
         ret = xc.linux_build(dom            = self.vm.getDomid(),
@@ -189,7 +186,6 @@
                              console_evtchn = console_evtchn,
                              cmdline        = self.cmdline,
                              ramdisk        = self.ramdisk,
-                             flags          = self.flags,
                              vcpus          = self.vm.getVCpuCount())
         if isinstance(ret, dict):
             self.set_vminfo(ret)
@@ -239,7 +235,6 @@
         log.debug("control_evtchn = %d", self.device_channel)
         log.debug("store_evtchn   = %d", store_evtchn)
         log.debug("memsize        = %d", self.vm.getMemoryTarget() / 1024)
-        log.debug("flags          = %d", self.flags)
         log.debug("vcpus          = %d", self.vm.getVCpuCount())
 
         ret = xc.vmx_build(dom            = self.vm.getDomid(),
@@ -247,7 +242,6 @@
                            control_evtchn = self.device_channel,
                            store_evtchn   = store_evtchn,
                            memsize        = self.vm.getMemoryTarget() / 1024,
-                           flags          = self.flags,
                            vcpus          = self.vm.getVCpuCount())
         if isinstance(ret, dict):
             self.set_vminfo(ret)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] More removal of BE_DOMAIN flags., Xen patchbot -unstable <=