-
Notifications
You must be signed in to change notification settings - Fork 114
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
virtual/openstack: configure VFIO with NIOMMU by default #257
virtual/openstack: configure VFIO with NIOMMU by default #257
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
testing it via our CI in OpenShift: #257 |
@atyronesmith @SchSeba would you be open to such a change? |
Yes! |
This worked as expected:
|
Thanks for your PR,
To skip the vendors CIs use one of:
|
/hold |
Thanks for your PR,
To skip the vendors CIs use one of:
|
1 similar comment
Thanks for your PR,
To skip the vendors CIs use one of:
|
/hold cancel |
/test-all |
/cc @bn222 |
Thanks for your PR,
To skip the vendors CIs use one of:
|
/lgtm |
/cc @adrianchiris |
/lgtm |
@adrianchiris when time permits, please merge this one, it was tested, and got several reviews & lgtm. |
Thanks for your PR,
To skip the vendors CIs use one of:
|
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.
minor nit otherwise lgtm !
As well known and well documented, in virtual deployments of Kubernetes such as running on top of OpenStack where the underlying virtualization platform is KVM, it does not support a virtualized iommu, the VFIO PCI driver needs to be loaded with a special flag. This patch aims to do it by default in the virtual_plugin, since this plugin is only used by OpenStack for now. Note: it also changes `utils.LoadKernelModule` function to support kernel module arguments. It also adds a note in `load-kmod.sh` about the fact that a module won't be reloaded with potential new options if the module is already loaded on the system.
Thanks for your PR,
To skip the vendors CIs use one of:
|
@adrianchiris thanks for the review, all done. Let me know if there is anything. |
/test-all |
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.
LGTM
As well known and well documented, in virtual deployments of Kubernetes such as running on top
of OpenStack where the underlying virtualization platform is KVM, it does not support a virtualized iommu,
the VFIO PCI driver needs to be loaded with a special flag.
This patch aims to do it by default in the virtual_plugin, since this
plugin is only used by OpenStack for now.
Note: it also changes
utils.LoadKernelModule
function to supportkernel module arguments. It also adds a note in
load-kmod.sh
about thefact that a module won't be reloaded with potential new options if the
module is already loaded on the system.