Compare commits
No commits in common. "37ee4a2cb3247a431708f4753e59b1b74db9b8cc" and "0034ac31ff560cd5b776b178ee909fa7d0e08154" have entirely different histories.
37ee4a2cb3
...
0034ac31ff
4
Makefile
4
Makefile
@ -6,12 +6,12 @@ KERNEL_MIN=8
|
|||||||
KERNEL_PATCHLEVEL=8
|
KERNEL_PATCHLEVEL=8
|
||||||
# increment KREL for every published package release!
|
# increment KREL for every published package release!
|
||||||
# rebuild packages with new KREL and run 'make abiupdate'
|
# rebuild packages with new KREL and run 'make abiupdate'
|
||||||
KREL=2
|
KREL=1002
|
||||||
|
|
||||||
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
|
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
|
||||||
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
|
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
|
||||||
|
|
||||||
EXTRAVERSION=-$(KREL)-qoup
|
EXTRAVERSION=-$(KREL)-pve
|
||||||
KVNAME=$(KERNEL_VER)$(EXTRAVERSION)
|
KVNAME=$(KERNEL_VER)$(EXTRAVERSION)
|
||||||
PACKAGE=proxmox-kernel-$(KVNAME)
|
PACKAGE=proxmox-kernel-$(KVNAME)
|
||||||
HDRPACKAGE=proxmox-headers-$(KVNAME)
|
HDRPACKAGE=proxmox-headers-$(KVNAME)
|
||||||
|
15
patches/kernel/9999-rdtsc-spoof-hook-0.patch
Normal file
15
patches/kernel/9999-rdtsc-spoof-hook-0.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -Naur --no-dereference a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
|
||||||
|
--- a/arch/x86/kvm/vmx/vmx.c 2024-07-01 21:03:34.000000000 +0300
|
||||||
|
+++ b/arch/x86/kvm/vmx/vmx.c 2024-07-01 20:24:05.000000000 +0300
|
||||||
|
@@ -6137,6 +6137,10 @@
|
||||||
|
[EXIT_REASON_ENCLS] = handle_encls,
|
||||||
|
[EXIT_REASON_BUS_LOCK] = handle_bus_lock_vmexit,
|
||||||
|
[EXIT_REASON_NOTIFY] = handle_notify,
|
||||||
|
+ [EXIT_REASON_RDTSC] = handle_rdtsc,
|
||||||
|
+ [EXIT_REASON_RDTSCP] = handle_rdtscp,
|
||||||
|
+ [EXIT_REASON_UMWAIT] = handle_umwait,
|
||||||
|
+ [EXIT_REASON_TPAUSE] = handle_tpause,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const int kvm_vmx_max_exit_handlers =
|
||||||
|
|
@ -1,18 +1,3 @@
|
|||||||
diff -Naur --no-dereference a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
|
|
||||||
--- a/arch/x86/kvm/vmx/vmx.c 2024-07-01 21:03:34.000000000 +0300
|
|
||||||
+++ b/arch/x86/kvm/vmx/vmx.c 2024-07-01 20:24:05.000000000 +0300
|
|
||||||
@@ -6137,6 +6137,10 @@
|
|
||||||
[EXIT_REASON_ENCLS] = handle_encls,
|
|
||||||
[EXIT_REASON_BUS_LOCK] = handle_bus_lock_vmexit,
|
|
||||||
[EXIT_REASON_NOTIFY] = handle_notify,
|
|
||||||
+ [EXIT_REASON_RDTSC] = handle_rdtsc,
|
|
||||||
+ [EXIT_REASON_RDTSCP] = handle_rdtscp,
|
|
||||||
+ [EXIT_REASON_UMWAIT] = handle_umwait,
|
|
||||||
+ [EXIT_REASON_TPAUSE] = handle_tpause,
|
|
||||||
};
|
|
||||||
|
|
||||||
static const int kvm_vmx_max_exit_handlers =
|
|
||||||
|
|
||||||
diff -Naur --no-dereference a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
|
diff -Naur --no-dereference a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
|
||||||
--- a/arch/x86/kvm/vmx/vmx.c 2024-07-01 21:03:34.000000000 +0300
|
--- a/arch/x86/kvm/vmx/vmx.c 2024-07-01 21:03:34.000000000 +0300
|
||||||
+++ b/arch/x86/kvm/vmx/vmx.c 2024-07-01 20:24:05.000000000 +0300
|
+++ b/arch/x86/kvm/vmx/vmx.c 2024-07-01 20:24:05.000000000 +0300
|
Loading…
Reference in New Issue
Block a user