-
Notifications
You must be signed in to change notification settings - Fork 104
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
openhcl_boot: Remove few kernel parameters for uio_hv_generic #763
base: main
Are you sure you want to change the base?
Conversation
Few of the module parameters that were earlier supported in uio_hv_generic driver no longer exist in kernel. Remove the logic which adds these parameters in kernel cmdline from openvmm.
How does uio_hv_generic know the ring buffer size to use now? |
Hi John, sorry for replying late, I missed the email due to some email filters. This is the patch that adds the support to get ring size from a pre defined table. https://lore.kernel.org/all/1711788723-8593-3-git-send-email-ssengar@linux.microsoft.com/ |
Thanks for making this cleanup in openhcl. Few questions:
@jstarks : since you already commented ... any concerns? |
I am unhappy that the kernel hard codes ring buffer sizes--we have asked for but did not receive an interface to make this configurable from user mode. The kernel has no way of knowing what an appropriate ring buffer size is. Having said that, I have no objections to this specific change, since the kernel behavior is what it is, and the old command line args were inflexible (since they applied globally to all channels). |
Agreed.
@namancse I'm happy to sign off if you can confirm the questions from above. Thanks again for the feedback! |
Hi Matt,
|
Few of the module parameters that were earlier supported in uio_hv_generic driver no longer exist in kernel. Remove the logic which adds these parameters in kernel cmdline from openvmm.