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] Remove unused parameter from addControllerClass. This be

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Remove unused parameter from addControllerClass. This became unused when the
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Oct 2005 13:06:12 +0000
Delivery-date: Wed, 19 Oct 2005 13:05:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Remove unused parameter from addControllerClass. This became unused when the, Xen patchbot -unstable <=