vfio-pci: Match specific devices with vendor id and device id
virt inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7CX4Z CVE: NA ------------------------------------------------------------------ In probe_vendor_drivers, all registered vendor drivers are traversed. This is not a good idea. If a vendor driver is not implemented well enough, it may cause the system to panic. Use the vendor id and device id to select a proper driver. The acc live migration driver needs to be adapted. Signed-off-by: NLongfang Liu <liulongfang@huawei.com> Signed-off-by: NKunkun Jiang <jiangkunkun@huawei.com>
Showing
想要评论请 注册 或 登录