[dts] [PATCH] tests: create the vm2 DUT with vm2 in sriov kvm TestSuite.
Liu, Yong
yong.liu at intel.com
Wed Jan 11 09:34:51 CET 2017
Thanks Rami. Applied into master branch.
On 01/08/2017 04:51 AM, Rami Rosen wrote:
> This patch fixes the setup_4vm_4vf_env() method in sriov kvm TestSuite
> to use vm2 for creating vm2 DUT, instead of wrongly using vm1 for this.
>
> Signed-off-by: Rami Rosen <rami.rosen at intel.com>
> ---
> tests/TestSuite_sriov_kvm.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
> index 41af4dd..43d5ccf 100644
> --- a/tests/TestSuite_sriov_kvm.py
> +++ b/tests/TestSuite_sriov_kvm.py
> @@ -441,7 +441,7 @@ class TestSriovKvm(TestCase):
>
> self.vm2 = QEMUKvm(self.dut, 'vm2', 'sriov_kvm')
> self.vm2.set_vm_device(driver='pci-assign', **vf2_prop)
> - self.vm_dut_2 = self.vm1.start()
> + self.vm_dut_2 = self.vm2.start()
> if self.vm_dut_2 is None:
> raise Exception("Set up VM2 ENV failed!")
>
More information about the dts
mailing list