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

14 lines
403 B
Diff

Index: src/arch/x86/kvm/vmx.c
===================================================================
--- src.orig/arch/x86/kvm/vmx.c
+++ src/arch/x86/kvm/vmx.c
@@ -8774,6 +8774,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;
}