mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
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:
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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||