[dts] [PATCH] fix bug that VM not destroyed when connect failed with VM

Yong Liu yong.liu at intel.com
Tue Jul 14 04:48:01 CEST 2015

From: Marvin Liu <yong.liu at intel.com>

Signed-off-by: Marvin Liu <yong.liu at intel.com>

diff --git a/framework/virt_base.py b/framework/virt_base.py
index 8404ff8..20ce67d 100644
--- a/framework/virt_base.py
+++ b/framework/virt_base.py
@@ -269,7 +269,7 @@ class VirtBase(object):
             return True
         elif type(vm_except) is exception.VirtDutConnectException:
             # need stop vm
-            self.stop()
+            self._stop_vm()
             return True
         elif type(vm_except) is exception.VirtDutInitException:
             # need close session

More information about the dts mailing list