[dts] [PATCH V1]framework\qemu_kvm: remove duplicate source code

Tu, Lijuan lijuan.tu at intel.com
Wed Aug 28 07:37:03 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yufengmx
> Sent: Tuesday, August 13, 2019 1:34 PM
> To: dts at dpdk.org
> Cc: Mo, YufengX <yufengx.mo at intel.com>
> Subject: [dts] [PATCH V1]framework\qemu_kvm: remove duplicate source
> code
> 
> 
> remove duplicate opt_settings key setting in __add_vm_virtio_user_pci
> method.
> 
> Signed-off-by: yufengmx <yufengx.mo at intel.com>
> ---
>  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



More information about the dts mailing list