From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F0AD2A0471 for ; Tue, 13 Aug 2019 07:33:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF8C81BE81; Tue, 13 Aug 2019 07:33:32 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F2CB91B952 for ; Tue, 13 Aug 2019 07:33:29 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 22:33:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,380,1559545200"; d="scan'208";a="181080589" Received: from dpdk-moyufen01.sh.intel.com ([10.67.111.77]) by orsmga006.jf.intel.com with ESMTP; 12 Aug 2019 22:33:28 -0700 From: yufengmx To: dts@dpdk.org Cc: yufengmx Date: Tue, 13 Aug 2019 13:34:27 +0800 Message-Id: <1565674467-21124-2-git-send-email-yufengx.mo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1565674467-21124-1-git-send-email-yufengx.mo@intel.com> References: <1565674467-21124-1-git-send-email-yufengx.mo@intel.com> Subject: [dts] [PATCH V1]framework\qemu_kvm: remove duplicate source code 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" remove duplicate opt_settings key setting in __add_vm_virtio_user_pci method. Signed-off-by: yufengmx --- framework/qemu_kvm.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/framework/qemu_kvm.py b/framework/qemu_kvm.py index c425f41..e349517 100644 --- a/framework/qemu_kvm.py +++ b/framework/qemu_kvm.py @@ -813,8 +813,6 @@ class QEMUKvm(VirtBase): opts['opt_settings'] = options['opt_settings'] if 'opt_legacy' in options.keys() and options['opt_legacy']: opts['opt_legacy'] = options['opt_legacy'] - if 'opt_settings' in options.keys() and options['opt_settings']: - opts['opt_settings'] = options['opt_settings'] self.__add_vm_virtio_net_pci(**opts) def __add_vm_virtio_cuse_pci(self, **options): -- 1.9.3