mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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>
This commit is contained in:
1 parent
9b6fdc5d38
commit
be8604faf3
1 file changed
+1
-4
@@ -262,10 +262,7 @@ class Daemon:
|
||||
return 1
|
||||
|
||||
def stop(self):
|
||||
result = self.cleanup_xend(True)
|
||||
from xen.xend import Vifctl
|
||||
Vifctl.network("stop")
|
||||
return result
|
||||
return self.cleanup_xend(True)
|
||||
|
||||
def run(self, status):
|
||||
try:
|
||||
|
||||