This patch suite add some sr-iov test cases.
After these patch, we can configure sr-iov device in the
same way as nic device. 
+                nics = "nic1 nic2 nic3 nic4 nic5 nic6 nic7"
+                pci_assignable = vf
 
now we can assign multi vf to  multi vms at same times.
It also support assign pf vf together.

TODO:
Current guest ip finding mechanism could not work for
sr-iov device.
We login guest with serial, then get guest ip and mac by commands.
This function only works when guest support serial,
we need a smarter way to get guest ip when sr-iov device used.

Please help review these patches.

Thanks

[PATCH 01/10] virt: update PciAssignable class
[PATCH 02/10] cfg: update configure for vf_assignable in guest-hw.cfg.sample
[PATCH 03/10] kvm_vm.py Redesign sr-iov part code
[PATCH 04/10] kvm: Add update_mac_ip_address function to utils_test.py
[PATCH 05/10] env_process.py: Call update_mac_ip_address if mac_changeable is 
yes
[PATCH 06/10] utils_misc.py: Add default value for qemu_path in 
qemu_has_option()
[PATCH 07/10] virt_vm.py: Handle exception in needs_reboot()
[PATCH 08/10] cfg: Add sr-iov part new cases in subtest.cfg.sample
[PATCH 09/10] kvm: Add sr_iov_hotplug.py test script
[PATCH 10/10] kvm: Add pci_hot_unplug.py test script

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to