Chris Wright <chrisw at sous-sol.org> writes: > * Zachary Amsden (zach at vmware.com) wrote: >> But my point is that if you patch everything in the paravirt_ops struct, >> no module other than the paravirt_ops backend code needs paravirt_ops >> access, so paravirt_ops can still be GPL only. The problem is you would >> need to patch everything. > > Oh, I see what you mean, yes. There was some discussion of that, > basically run through generic patch, then ->patch() or some such. There is another solution. You can simply make the users of paravirt_ops that aren't important enough to patch static functions in the kernel. That plus the removal from the callers that always get patched should make the GPL export safe. Eric