[XEND] Two small fixes/improvements from Glauber de Oliveira Costa.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-10-19 15:53:12 +01:00
1 parent da161aeaa8
commit 22323d5911
2 files changed
+5

No files matched your search

+2
View File
@@ -392,6 +392,8 @@ def parseConfig(config):
log.warn("Ignoring malformed and deprecated config option "
"restart = %s", restart)
result['start_time'] = get_cfg('start_time', float)
log.debug("parseConfig: result is %s", result)
return result
+3
View File
@@ -81,6 +81,9 @@ class BlkifController(DevController):
'acm_policy' : policy})
devid = blkif.blkdev_name_to_number(dev)
if not devid:
raise VmError('Unable to find number for device (%s)' % (dev))
front = { 'virtual-device' : "%i" % devid,
'device-type' : dev_type
}
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.