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

[Xen-changelog] [xen-unstable] xend: pass-through: Remove PciDeviceNotFoundError, it is never used



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245148713 -3600
# Node ID 11c3f4e786b3441ff0cc8121949988ff0d57d028
# Parent  0573bbe19499cfe8ecc7c81a07767a464a4d3543
xend: pass-through: Remove PciDeviceNotFoundError, it is never used

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 tools/python/xen/util/pci.py |   11 -----------
 1 files changed, 11 deletions(-)

diff -r 0573bbe19499 -r 11c3f4e786b3 tools/python/xen/util/pci.py
--- a/tools/python/xen/util/pci.py      Tue Jun 16 11:37:41 2009 +0100
+++ b/tools/python/xen/util/pci.py      Tue Jun 16 11:38:33 2009 +0100
@@ -374,17 +374,6 @@ def check_mmio_bar(devs_list):
             result = result + [dev_list]
 
     return result
-
-class PciDeviceNotFoundError(Exception):
-    def __init__(self,domain,bus,slot,func):
-        self.domain = domain
-        self.bus = bus
-        self.slot = slot
-        self.func = func
-        self.name = PCI_DEV_FORMAT_STR %(domain, bus, slot, func)
-    
-    def __str__(self):
-        return ('PCI Device %s Not Found' % (self.name))
 
 class PciDeviceParseError(Exception):
     def __init__(self,msg):

_______________________________________________
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®.