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 4E7E2A0471 for ; Tue, 13 Aug 2019 08:39:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 42B7B1BE84; Tue, 13 Aug 2019 08:39:44 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 4D4911BE0C for ; Tue, 13 Aug 2019 08:39:42 +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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 23:39:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,380,1559545200"; d="scan'208";a="181097793" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga006.jf.intel.com with ESMTP; 12 Aug 2019 23:39:40 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 23:39:40 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 23:39:39 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.215]) with mapi id 14.03.0439.000; Tue, 13 Aug 2019 14:39:37 +0800 From: "Wang, Yinan" To: "Mo, YufengX" , "dts@dpdk.org" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1]framework\qemu_kvm: remove duplicate source code Thread-Index: AQHVUZiuLJ/+O/uLq06IVthImB5hrKb4oIlw Date: Tue, 13 Aug 2019 06:39:37 +0000 Message-ID: References: <1565674467-21124-1-git-send-email-yufengx.mo@intel.com> <1565674467-21124-2-git-send-email-yufengx.mo@intel.com> In-Reply-To: <1565674467-21124-2-git-send-email-yufengx.mo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWYyOTFkODUtMDA1My00YjI2LWFlZDktMTUxMjkzNGU0MjAyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQUdrNG5VNnFIcDBhS2orYmYzZTVvY2ZFM3ZNRklGZ2ZKekFmTUU3bFRBRVFmRk5XOUVwNEZ6cFpHa3FDMXlqcCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Acked-by: Wang, Yinan > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx > Sent: 2019=1B$BG/=1B(B8=1B$B7n=1B(B13=1B$BF|=1B(B 13:34 > To: dts@dpdk.org > Cc: Mo, YufengX > Subject: [dts] [PATCH V1]framework\qemu_kvm: remove duplicate source code >=20 >=20 > remove duplicate opt_settings key setting in __add_vm_virtio_user_pci met= hod. >=20 > Signed-off-by: yufengmx > --- > framework/qemu_kvm.py | 2 -- > 1 file changed, 2 deletions(-) >=20 > 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'] =3D options['opt_settings'] > if 'opt_legacy' in options.keys() and options['opt_legacy']: > opts['opt_legacy'] =3D options['opt_legacy'] > - if 'opt_settings' in options.keys() and options['opt_settings']: > - opts['opt_settings'] =3D options['opt_settings'] > self.__add_vm_virtio_net_pci(**opts) >=20 > def __add_vm_virtio_cuse_pci(self, **options): > -- > 1.9.3