File: replace-section-references.patch

package info (click to toggle)
kpatch 0.9.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,716 kB
  • sloc: ansic: 9,716; sh: 2,592; makefile: 260; asm: 35
file content (12 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nupr src.orig/arch/x86/kvm/x86.c src/arch/x86/kvm/x86.c
--- src.orig/arch/x86/kvm/x86.c	2017-09-22 15:27:20.852052672 -0400
+++ src/arch/x86/kvm/x86.c	2017-09-22 15:27:49.362170732 -0400
@@ -248,6 +248,8 @@ static void shared_msr_update(unsigned s
 
 void kvm_define_shared_msr(unsigned slot, u32 msr)
 {
+	if (!jiffies)
+		printk("kpatch kvm define shared msr\n");
 	BUG_ON(slot >= KVM_NR_SHARED_MSRS);
 	shared_msrs_global.msrs[slot] = msr;
 	if (slot >= shared_msrs_global.nr)