From a0bf43ea4a81afcd892444ce2cc4d2754fe596ac Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Tue, 2 Jul 2024 00:15:58 +0300 Subject: [PATCH] update rdtsc-spoof-hook --- patches/kernel/9999-rdtsc-spoof-hook.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/kernel/9999-rdtsc-spoof-hook.patch b/patches/kernel/9999-rdtsc-spoof-hook.patch index 6544d00..ab1a32d 100644 --- a/patches/kernel/9999-rdtsc-spoof-hook.patch +++ b/patches/kernel/9999-rdtsc-spoof-hook.patch @@ -2,9 +2,9 @@ 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 +6167,10 @@ - [EXIT_REASON_ENCLS] = handle_encls, - [EXIT_REASON_BUS_LOCK] = handle_bus_lock_vmexit, - [EXIT_REASON_NOTIFY] = handle_notify, + [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,