From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E88EFDE6 for ; Tue, 14 Jul 2015 04:48:09 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 13 Jul 2015 19:48:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,468,1432623600"; d="scan'208";a="605626294" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 13 Jul 2015 19:48:07 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t6E2m5Tb009890; Tue, 14 Jul 2015 10:48:05 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t6E2m37J011323; Tue, 14 Jul 2015 10:48:05 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t6E2m3Pr011319; Tue, 14 Jul 2015 10:48:03 +0800 From: Yong Liu To: dts@dpdk.org Date: Tue, 14 Jul 2015 10:48:01 +0800 Message-Id: <1436842081-11287-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH] fix bug that VM not destroyed when connect failed with VM X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 02:48:10 -0000 From: Marvin Liu Signed-off-by: Marvin Liu 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 -- 1.9.3