Skip to contentSkip to conversation

Return True from device_update when cfg_xenapi

PATCH New Masaki Kanno 1 participant 1 message Mar 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Return True from device_update when cfg_xenapi

Hi,

When device_update is called by using cfg_xenapi, this patch returns True.

Best regards,
Kan

tools/python/xen/xend/XendConfig.py +1 -0
diff -r 0b13d9787622 tools/python/xen/xend/XendConfig.py
@@ -1895,6 +1895,7 @@ class XendConfig(dict):
             for key, val in cfg_xenapi.items():
                 dev_info[key] = val
             self['devices'][dev_uuid] = (dev_type, dev_info)
+            return True
 
         return False
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel