19 lines
661 B
Diff
19 lines
661 B
Diff
Index: xen-3.3.0-testing/tools/python/xen/xend/server/netif.py
|
|
===================================================================
|
|
--- xen-3.3.0-testing.orig/tools/python/xen/xend/server/netif.py
|
|
+++ xen-3.3.0-testing/tools/python/xen/xend/server/netif.py
|
|
@@ -101,6 +101,13 @@ class NetifController(DevController):
|
|
def __init__(self, vm):
|
|
DevController.__init__(self, vm)
|
|
|
|
+ def createDevice(self, config):
|
|
+ typ = config.get('type', '')
|
|
+ if typ == 'ioemu':
|
|
+ return 0
|
|
+
|
|
+ DevController.createDevice(self, config)
|
|
+
|
|
def getDeviceDetails(self, config):
|
|
"""@see DevController.getDeviceDetails"""
|
|
|