[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Remove unused parameter from addControllerClass. This became unused when the



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 7c951e3eb5ab4ab0a6de33a8f831c828d16b1ad4
# Parent  9b18b85e0146b310f65ecc8d50943e79fa5a8694
Remove unused parameter from addControllerClass.  This became unused when the
BE_DOMAIN flags were removed.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 9b18b85e0146 -r 7c951e3eb5ab tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Oct 19 10:51:25 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Oct 19 10:53:00 2005
@@ -1392,7 +1392,7 @@
 implements the device control specific to that device-class."""
 controllerClasses = {}
 
-def addControllerClass(device_class, backend_name, cls):
+def addControllerClass(device_class, cls):
     """Register a subclass of DevController to handle the named device-class.
     """
     cls.deviceClass = device_class
@@ -1400,8 +1400,8 @@
 
 
 from xen.xend.server import blkif, netif, tpmif, pciif, usbif
-addControllerClass('vbd',  'blkif', blkif.BlkifController)
-addControllerClass('vif',  'netif', netif.NetifController)
-addControllerClass('vtpm', 'tpmif', tpmif.TPMifController)
-addControllerClass('pci',  'pciif', pciif.PciController)
-addControllerClass('usb',  'usbif', usbif.UsbifController)
+addControllerClass('vbd',  blkif.BlkifController)
+addControllerClass('vif',  netif.NetifController)
+addControllerClass('vtpm', tpmif.TPMifController)
+addControllerClass('pci',  pciif.PciController)
+addControllerClass('usb',  usbif.UsbifController)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.