ia64/xen-unstable

changeset 12830:0c1e2abc1888

[HVM] Fix reboot failure when configured 'cdrom', i.e. bug 832.
Signed-off-by : Xinmei Huang <xinmei.huang@intel.com>
author kfraser@localhost.localdomain
date Thu Dec 07 11:16:17 2006 +0000 (2006-12-07)
parents 0f5dd1d43b67
children 49bb6b82654a
files tools/python/xen/xend/server/blkif.py
line diff
     1.1 --- a/tools/python/xen/xend/server/blkif.py	Thu Dec 07 11:14:21 2006 +0000
     1.2 +++ b/tools/python/xen/xend/server/blkif.py	Thu Dec 07 11:16:17 2006 +0000
     1.3 @@ -124,6 +124,8 @@ class BlkifController(DevController):
     1.4              config['dev'] = dev
     1.5          if typ and params:
     1.6              config['uname'] = typ +':' + params
     1.7 +        else:
     1.8 +            config['uname'] = None
     1.9          if mode:
    1.10              config['mode'] = mode
    1.11          if uuid: