WCharacter / RDTSC-KVM-Handler

my patches for linux kernel to spoof rdtsc and make vm exit undetected
221 stars 30 forks source link

not able to get pdpe1g cpu flag in guest vm when compiling linux 5.4.4 with rdtsc patch #22

Open ujjwalpawar opened 4 months ago

ujjwalpawar commented 4 months ago

I am trying to create a VM on a host that supports 1G hugepages. However, I am getting the following warning: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:EDX.pdpe1gb [bit 26] This occurs when I try to force the -pdpe1gb CPU flag, which is required to use 1G hugepages. Has anyone else faced this issue? If not, which kernel version allows the guest to get the pdpe1gb flag? On the same hardware with kernel version 5.15, I do not encounter this issue.