Dmesg also include a lot of messages like kvm_intel: Unknown symbol kvm_rdpmc (err 0) kvm_intel: Unknown symbol kvm_set_cr3 (err 0) kvm_intel: Unknown symbol kvm_write_tsc (err 0) [last line] kvm: zapping shdow pages for mmio generation wraparound. Source of kvm-kmod is http://git.kiszka.org/?p=kvm-kmod.git On Tue, Jun 27, 2017 at 2:19 PM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > > On 27/06/2017 18:36, rohan gupta wrote: >> I am a beginner in Virtualization and have just started a project on >> KVM. I want to record events at KVM level in a log file and then >> replay logs for further analysis. I am trying to implement the logic >> of research paper V2E (link below). I am trying to change mmu.c file >> in KVM code base. Since I have made changes to kernel module, I need >> to remove KVM module using command 'modprobe -r kvm' and trying to >> insert modified kernel object using 'insmmod >> /home/rohan/kvm-kmod/x86/kvm.ko' and run command 'dmesg | grep kvm' >> and output has 'kvm_intel: module verification failed: signature >> and/or required key missing - tainting kernel'. and kvm stop working. >> I google the issue and cannot find any credible solution. > > Tainting the kernel should not prevent KVM from running. > > What other messages do you get in dmesg? Where are you taking kvm-kmod > sources from? > > Paolo