mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: pass-through: Remove PciDeviceNotFoundError, it is never used
Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
1 parent
52ecedb262
commit
6c4c01bd43
1 file changed
-11
@@ -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
|
||||
|
||||