-
Notifications
You must be signed in to change notification settings - Fork 308
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
linux 6.9.0-rc6 can't find special struct paravirt_patch_site size #1395
Comments
Hi @wardenjohn : thanks for the reminder, this is a dup of #1380 that was fixed with (just merged now) #1392. Can you re-pull the latest and try again? Thanks. |
@joe-lawrence OK it just added a judgment of kernel version. So, is paravirt_patch_site is deleted in kernel 6.9. |
The answer is in #1380 |
@joe-lawrence As described in torvalds/linux@f7af697 |
@wardenjohn : if I understand your question, take a look at the kernel patch series https://lore.kernel.org/all/[email protected]/ to see that Juergen has implemented the previous paravirt patching functionality with alternatives based patching. Support for .altinstructions / .altinstr_replacement has been in kpatch since 698cc1c ("create-diff-object: support fixup and related sections"). |
OK! I got it. Thank you, joe~ |
I use kernel 6.9.0-rc6-next-20240430-dirty and try to build livepatch ko.
When kpatch-build start to read special section data, an error raised : "can't find special struct paravirt_patch_site size."
It seem that the vmlinux dont contain paravirt_patch_site.
I read the vmlinux, and only found paravirt_patch_template, no paravirt_patch_site found.
Anything wrong with the kernel or kpatch-build?
The text was updated successfully, but these errors were encountered: