ia64/xen-unstable

changeset 2521:acee0d04bc60

bitkeeper revision 1.1159.82.2 (4152d30a53As1PZsQvZxt02MCjY_Ng)

Remove unused methods.
author mjw@wray-m-3.hpl.hp.com
date Thu Sep 23 13:43:38 2004 +0000 (2004-09-23)
parents 1c1f4aac700c
children 0bd31a3188c2
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Thu Sep 23 13:42:03 2004 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Thu Sep 23 13:43:38 2004 +0000
     1.3 @@ -651,20 +651,6 @@ class Daemon:
     1.4      def blkif_get(self, dom):
     1.5          return self.blkifCF.getControllerByDom(dom)
     1.6  
     1.7 -    def blkif_dev(self, dom, vdev):
     1.8 -        return self.blkifCF.getDomainDevice(dom, vdev)
     1.9 -
    1.10 -    def blkif_dev_create(self, dom, config, vdev, mode, segment, recreate=0):
    1.11 -        """Create a block device.
    1.12 -        
    1.13 -        Returns Deferred
    1.14 -        """
    1.15 -        ctrl = self.blkifCF.getControllerByDom(dom)
    1.16 -        if not ctrl:
    1.17 -            raise XendError('No blkif controller: %d' % dom)
    1.18 -        d = ctrl.attachDevice(config, vdev, mode, segment, recreate=recreate)
    1.19 -        return d
    1.20 -
    1.21      def netif_create(self, dom, recreate=0):
    1.22          """Create or get a network interface controller.
    1.23          
    1.24 @@ -677,19 +663,6 @@ class Daemon:
    1.25      def netif_get(self, dom):
    1.26          return self.netifCF.getControllerByDom(dom)
    1.27  
    1.28 -    def netif_dev_create(self, dom, vif, config, recreate=0):
    1.29 -        """Create a network device.
    1.30 -
    1.31 -        """
    1.32 -        ctrl = self.netifCF.getControllerByDom(dom)
    1.33 -        if not ctrl:
    1.34 -            raise XendError('No netif controller: %d' % dom)
    1.35 -        d = ctrl.attachDevice(vif, config, recreate=recreate)
    1.36 -        return d
    1.37 -
    1.38 -    def netif_dev(self, dom, vif):
    1.39 -        return self.netifCF.getDomainDevice(dom, vif)
    1.40 -
    1.41      def console_create(self, dom, console_port=None):
    1.42          """Create a console for a domain.
    1.43          """