Hack around problem whereby VMX domains (using the ioemu device) now fail

because the new hotplug script error checking kicks in.

ioemu really ought to move out of blkif.py.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-07 12:35:06 +01:00
1 parent 3dd98c5e02
commit 27be16e320
2 files changed
+3 -1

No files matched your search

@@ -57,6 +57,8 @@ class DevController:
@return The ID for the newly created device.
"""
(devid, back, front) = self.getDeviceDetails(config)
if devid is None:
return 0
self.writeDetails(config, devid, back, front)
+1 -1
View File
@@ -43,7 +43,7 @@ class BlkifController(DevController):
dev = sxp.child_value(config, 'dev')
if re.match('^ioemu:', dev):
return (0,{},{})
return (None,{},{})
devid = blkif.blkdev_name_to_number(dev)
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.