-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
feat: Update VFIO to be bootc compliant #2150
base: main
Are you sure you want to change the base?
Conversation
It is a tool that lists pci devices and which groups they are in, and it lets you use flags to fine tune what you look for and what info you want.
options kvmfr static_size_mb=128 | ||
KVMFR_MODPROBE" | ||
# Add kvmfr static size karg | ||
rpm-ostree kargs --append-if-missing="kvmfr.static_size_mb=128" |
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.
Using the modprobe override here seems like what we should do with bootc, but maybe it just works?
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.
we probably can and the looking-glass people would prefer it over using rpm-ostree kargs which is unique to fedora atomic, i am just following the change kyle did in bazzite to add the vfio modules to the image. :)
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.
thinking back at this, unsure if this will require rebuilding the initramfs when the user changes it though which is what we are trying to avoid.
putting back to draft as i remembered there is a part i forgot to move over from bazzite, so will work on that later today or in the weekend hopefully |
This will be kept as a draft in-case more changes are needed, but from what i can tell, dracut is being run as part of the build process so the vfio modules should be included into initramfs with the image with this inclusion.
the just recipes and the script for kvmfr has been updated to reflect this
also minor changes to heredocs in some recipes to make the just highlighting work for me in vscode when writing this.
I will be making a similar PR to Aurora with the same updates later.