virttest.test_setup: Add get_vf_num_by_id() function to PciAssignable class
This function will return corresponding pf eth name and vf num according to vf id.
We need use pf eth name and vf num when setting mac for vf.
Signed-off-by: NFeng Yang <fyang@redhat.com>
Showing
想要评论请 注册 或 登录