diff -r db943e8d1051 tools/python/xen/xend/image.py --- a/tools/python/xen/xend/image.py Tue Apr 01 10:09:33 2008 +0100 +++ b/tools/python/xen/xend/image.py Fri Apr 04 17:09:45 2008 -0600 @@ -571,7 +571,7 @@ class HVMImageHandler(ImageHandler): for devuuid in vmConfig['vif_refs']: devinfo = vmConfig['devices'][devuuid][1] - dtype = devinfo.get('type', 'ioemu') + dtype = devinfo.get('type', '') if dtype != 'ioemu': continue nics += 1 diff -r db943e8d1051 tools/python/xen/xend/server/netif.py --- a/tools/python/xen/xend/server/netif.py Tue Apr 01 10:09:33 2008 +0100 +++ b/tools/python/xen/xend/server/netif.py Fri Apr 04 17:10:13 2008 -0600 @@ -99,6 +99,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"""