[dts] [PATCH V1]virtio_pvp_regression: two virtio11 cases not supported by qemu lower than 4.2

Tu, Lijuan lijuan.tu at intel.com
Mon Apr 20 06:45:15 CEST 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiao Qimai
> Sent: Friday, April 10, 2020 5:30 PM
> To: dts at dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao at intel.com>
> Subject: [dts] [PATCH V1]virtio_pvp_regression: two virtio11 cases not
> supported by qemu lower than 4.2
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
> ---
>  tests/TestSuite_virtio_pvp_regression.py | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/TestSuite_virtio_pvp_regression.py
> b/tests/TestSuite_virtio_pvp_regression.py
> index 42aceae..6a67fed 100644
> --- a/tests/TestSuite_virtio_pvp_regression.py
> +++ b/tests/TestSuite_virtio_pvp_regression.py
> @@ -357,6 +357,10 @@ class TestVirtioPVPRegression(TestCase):
>              self.result_table_create(self.header_row)
>              path = self.qemu_list[i]["path"]
>              version = self.qemu_list[i]["version"]
> +            version_number = float(version.split('-')[-1])
> +            if "virtio11" in self.running_case and version_number < 4.2:
> +                self.logger.info("%s not support %s, skip" % (version,
> self.running_case))
> +                continue
>              self.start_testpmd_as_vhost()
>              # use different modem and different path to start vm
>              self.start_vm(path, version, modem, virtio_path, packed=packed)
> --
> 1.8.3.1



More information about the dts mailing list