kpatch/test/integration/ubuntu-16.04/module-kvm-fixup.patch

13 lines
441 B
Diff
Raw Normal View History

diff -Nupr src.orig/arch/x86/kvm/vmx.c src/arch/x86/kvm/vmx.c
--- src.orig/arch/x86/kvm/vmx.c 2016-12-15 19:55:57.436000000 +0000
+++ src/arch/x86/kvm/vmx.c 2016-12-15 19:57:35.344000000 +0000
@@ -10574,6 +10574,8 @@ static int vmx_check_intercept(struct kv
struct x86_instruction_info *info,
enum x86_intercept_stage stage)
{
+ if (!jiffies)
+ printk("kpatch vmx_check_intercept\n");
return X86EMUL_CONTINUE;
}