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

[Xen-changelog] Disable device info getting written to store when xend restarts.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 64ca0d3ea97fa7db2599c7e5fd8af1385dd2fcc3
# Parent  0c9c044fd00caf7fa0f45f6305c3c7be64964b83
Disable device info getting written to store when xend restarts.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 0c9c044fd00c -r 64ca0d3ea97f tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Sep  7 21:13:46 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Sep  7 21:15:41 2005
@@ -387,6 +387,8 @@
         return ctrl
 
     def createDevice(self, type, devconfig, change=False):
+        if self.recreate:
+            return
         if type == 'vbd':
             typedev = sxp.child_value(devconfig, 'dev')
             if re.match('^ioemu:', typedev):

_______________________________________________
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®.