-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add iommufd case for vfio_net_boot #4163
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see it covers both VFIO legacy backend and IOMMFD backend for Qemu vfio-pci device.
Hello @fanchen2, thank you for the PR. I see avocado-framework/avocado-vt#4004, will help to review both. Cc @JinLiul, as you may also be interesting with this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, let's wait for the avocado-vt patch to be merged, then we can merge this one.
Also, thank you for your contribution.
Signed-off-by: Farrah Chen <[email protected]>
Hello @fanchen2, I will merge this PR once all CI checks succeed. But some tips for you:
Thank you for the first contribution. |
@fanchen2 btw, can you provide test results? |
@PaulYuuu Yes, yes, thank you. [root@emr-120485 ~]# avocado run --vt-config /root/avocado/data/avocado-vt/backends/qemu/cfg/nic.cfg |
iommufd-backed VFIO, for example:
-object iommufd,id=iommufd0
-device vfio-pci,host=01:00.0,iommufd=iommufd0
Multiple pcie device can use the same iommufd.