ia64/xen-unstable

changeset 7435:7c951e3eb5ab

Remove unused parameter from addControllerClass. This became unused when the
BE_DOMAIN flags were removed.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Oct 19 11:53:00 2005 +0100 (2005-10-19)
parents 9b18b85e0146
children b556130d3c6c 848f21d57278
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Oct 19 11:51:25 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Oct 19 11:53:00 2005 +0100
     1.3 @@ -1392,7 +1392,7 @@ class XendDomainInfo:
     1.4  implements the device control specific to that device-class."""
     1.5  controllerClasses = {}
     1.6  
     1.7 -def addControllerClass(device_class, backend_name, cls):
     1.8 +def addControllerClass(device_class, cls):
     1.9      """Register a subclass of DevController to handle the named device-class.
    1.10      """
    1.11      cls.deviceClass = device_class
    1.12 @@ -1400,8 +1400,8 @@ def addControllerClass(device_class, bac
    1.13  
    1.14  
    1.15  from xen.xend.server import blkif, netif, tpmif, pciif, usbif
    1.16 -addControllerClass('vbd',  'blkif', blkif.BlkifController)
    1.17 -addControllerClass('vif',  'netif', netif.NetifController)
    1.18 -addControllerClass('vtpm', 'tpmif', tpmif.TPMifController)
    1.19 -addControllerClass('pci',  'pciif', pciif.PciController)
    1.20 -addControllerClass('usb',  'usbif', usbif.UsbifController)
    1.21 +addControllerClass('vbd',  blkif.BlkifController)
    1.22 +addControllerClass('vif',  netif.NetifController)
    1.23 +addControllerClass('vtpm', tpmif.TPMifController)
    1.24 +addControllerClass('pci',  pciif.PciController)
    1.25 +addControllerClass('usb',  usbif.UsbifController)