Le 31/10/2013 23:43, John Nemeth a écrit :
Thus, this is NOT a module bug at all, but rather loading modules tickles a latent bug in our Xen code. For now, I ignore the error instead of panic()ing. It would be better not to make the call at all, but I don't (yet) know how to test for privileges. Having made this change, I can now successfully load simple modules. I need to go on and test more complex modules. }-- End of excerpt from John Nemeth
Hi,First and foremost, thank you for working on this. Module usage inside Xen is a big plus :) Sorry for seeing the mail that late though :/
Regarding the hypercall privilege, I think that wbinvd gets caught and handled by hypervisor; what happens if you replace the hypercall with
asm("wbinvd":::"memory")According to Linux paravirt ops struct, the native call seems to be used instead of hypercalls for cache invalidation.
Cheers, -- Jean-Yves Migeon