ia64/xen-unstable
changeset 7517:f0e92f206c8a
Don't run network stop script when doing xend stop.
It doesn't make sense to undo the network configuration when stopping
xend since that would cut off all VMs from the network. Undoing the
network setup should be an option independent of xend stop.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
It doesn't make sense to undo the network configuration when stopping
xend since that would cut off all VMs from the network. Undoing the
network setup should be an option independent of xend stop.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | chris@ubuntu.eng.hq.xensource.com |
---|---|
date | Mon Oct 24 19:04:30 2005 -0700 (2005-10-24) |
parents | e47f04c55eb1 |
children | f2ad4e0a7259 |
files | tools/python/xen/xend/server/SrvDaemon.py |
line diff
1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py Mon Oct 24 12:57:37 2005 +0100 1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py Mon Oct 24 19:04:30 2005 -0700 1.3 @@ -262,10 +262,7 @@ class Daemon: 1.4 return 1 1.5 1.6 def stop(self): 1.7 - result = self.cleanup_xend(True) 1.8 - from xen.xend import Vifctl 1.9 - Vifctl.network("stop") 1.10 - return result 1.11 + return self.cleanup_xend(True) 1.12 1.13 def run(self, status): 1.14 try: