Commit f1fd3a9b authored by Longfang Liu's avatar Longfang Liu Committed by JiangShui Yang
Browse files

vfio/migration: Modify the vf id acquisition method

driver inclusion
category:feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I6DRLU


CVE: NA

When using the old PCI_FUNC method to obtain the vf id, if the number
of vf big than 8, the obtained id number will be wrong, and the new
method needs to be used to correct it.

Signed-off-by: default avatarLongfang Liu <liulongfang@huawei.com>
Signed-off-by: default avatarJiangShui Yang <yangjiangshui@h-partners.com>
parent 0c2046e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment