[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEND] Fix reboot for HVM domains if cdrom is empty.
# HG changeset patch # User Alastair Tse <atse@xxxxxxxxxxxxx> # Node ID 3f0ca90351e268084fbdb733d70fc596cb46537d # Parent 1d32fb45e08fe9e8ebbc684ae93f71c6b5fd1495 [XEND] Fix reboot for HVM domains if cdrom is empty. Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx> --- tools/python/xen/xend/image.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 1d32fb45e08f -r 3f0ca90351e2 tools/python/xen/xend/image.py --- a/tools/python/xen/xend/image.py Wed Dec 06 16:33:48 2006 +0000 +++ b/tools/python/xen/xend/image.py Thu Dec 07 10:54:43 2006 +0000 @@ -338,7 +338,7 @@ class HVMImageHandler(ImageHandler): for devuuid, (devtype, devinfo) in deviceConfig.items(): if devtype == 'vbd': - uname = devinfo['uname'] + uname = devinfo.get('uname') if uname is not None and 'file:' in uname: (_, vbdparam) = string.split(uname, ':', 1) if not os.path.isfile(vbdparam): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |