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

Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
Keir Fraser committed 2009-06-16 11:38:33 +01:00
1 parent 52ecedb262
commit 6c4c01bd43
1 file changed
-11
-11
View File
@@ -375,17 +375,6 @@ def check_mmio_bar(devs_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):
self.message = msg
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.