ia64/xen-unstable

changeset 19759:11c3f4e786b3

xend: pass-through: Remove PciDeviceNotFoundError, it is never used

Signed-off-by: Simon Horman <horms@verge.net.au>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jun 16 11:38:33 2009 +0100 (2009-06-16)
parents 0573bbe19499
children 4bc1347b9b86
files tools/python/xen/util/pci.py
line diff
     1.1 --- a/tools/python/xen/util/pci.py	Tue Jun 16 11:37:41 2009 +0100
     1.2 +++ b/tools/python/xen/util/pci.py	Tue Jun 16 11:38:33 2009 +0100
     1.3 @@ -375,17 +375,6 @@ def check_mmio_bar(devs_list):
     1.4  
     1.5      return result
     1.6  
     1.7 -class PciDeviceNotFoundError(Exception):
     1.8 -    def __init__(self,domain,bus,slot,func):
     1.9 -        self.domain = domain
    1.10 -        self.bus = bus
    1.11 -        self.slot = slot
    1.12 -        self.func = func
    1.13 -        self.name = PCI_DEV_FORMAT_STR %(domain, bus, slot, func)
    1.14 -    
    1.15 -    def __str__(self):
    1.16 -        return ('PCI Device %s Not Found' % (self.name))
    1.17 -
    1.18  class PciDeviceParseError(Exception):
    1.19      def __init__(self,msg):
    1.20          self.message = msg