Problems with hypercalls
tricheurs at hotmail.fr
Tue Jun 7 04:39:25 EDT 2011
I try to do hypercalls but I always have a kernel panic that I don't understand.
I have Scentific Linux 6 installed on kvm and my computer has ubuntu.
I try to modify the SL6 kernel to do hypercalls.
I have a function in that kernel which check all syscalls in the VM.
When I put the hypercall at the beginning of this function, it perfectly works,
but when I try to put it in the middle of the function I have a kernel panic with this
"divide error: 0000 [#1] SMP
[<ffffffff811f974c>] ? my_function+0xdc/0xe70 "
Could you have any suggestions ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies