[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Return True from device_update when cfg_xenapi



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1238496596 -3600
# Node ID ee3c5a08f80e862511253b1f06dd0e5a69f5ef4a
# Parent  2269d8704139ec256e8732b23b56debd09eb9430
xend: Return True from device_update when cfg_xenapi

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

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    1 +
 1 files changed, 1 insertion(+)

diff -r 2269d8704139 -r ee3c5a08f80e tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Tue Mar 31 11:48:07 2009 +0100
+++ b/tools/python/xen/xend/XendConfig.py       Tue Mar 31 11:49:56 2009 +0100
@@ -1912,6 +1912,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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.