Avi Kivity wrote: > Andrew Morton wrote: >> On Tue, 28 Nov 2006 19:24:45 -0500 >> Thomas Tuttle wrote: >> >> >>> I've found a couple of bugs so far... >>> >>> 1. I did `modprobe kvm' and then tried running a version of the KVM >>> Qemu >>> compiled for a different kernel. My mistake. But I got an oops: >>> >>> BUG: unable to handle kernel NULL pointer dereference at virtual >>> address 00000008 >>> Code: 14 0f 87 77 02 00 00 8b 0c b5 00 15 20 f9 85 c9 0f 84 68 02 00 >>> 00 89 ea 89 f8 ff d1 85 c0 0f 84 4c 02 00 00 89 f8 e8 31 e9 ff ff >>> <65> a1 08 00 00 00 8b 40 04 8b 40 08 a8 04 0f 85 ae 02 00 00 e8 >>> EIP: [] kvm_vmx_return+0xef/0x4d0 [kvm] SS:ESP 0068:e5a4fd54 >>> >>> > > 65 a1 08 00 00 00 mov %gs:0x8,%eax > > kvm isn't restoring gs properly. > > I'll look into it. This comes from the pda patches. Does the attached patch fix it? -- error compiling committee.c: too many arguments to function