qemu: hostdev: Refactor PCI passhrough handling
To simplify future patches dealing with this code, simplify and refactor some conditions to switch statements.
Showing
想要评论请 注册 或 登录
To simplify future patches dealing with this code, simplify and refactor some conditions to switch statements.