Closed EdLovecraft closed 1 year ago
As far as I can tell it's now in arch/x86/kvm/vmx/vmx.h
(not tested yet, just came across this).
A little bit late, but I wanted to mention that it still works like the old way in v6.0, so you could boot into that when you need it, thats what I did.
Commit 71179a62 Should work for intel cpus. I no longer support this repository, so if someone wants to implement this patch for 6.0+ version for amd cpu - i will merge it.
I cannot find these lines around setup_vmcs_config function in vmx.c
I skipped it and added
[EXIT_REASON_RDTSC] = handle_rdtsc,
and other codes, added rdtscp=off to qemu:arg, but it doesn't seem to work, my cpu base clock is the same as before, pafish can still force vm exit, and there is no messages about fake rdtsc in dmesg.