how i understand this bug not fixable end cannot be disable ?
whay the vm exit is forsed when it's try call cpu id ?
if it's not call cpu id all good - its happen only how you see on comet of code if
move aex 0x00
cpuid
this code work fine no detect's vmware ( if change cpuid.x.xxx"xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx")
static inline unsigned long long rdtsc_diff() {
unsigned long long ret, ret2;
unsigned eax, edx;
__asm__ volatile("rdtsc" : "=a" (eax), "=d" (edx));
ret = ((unsigned long long)eax) | (((unsigned long long)edx) << 32);
__asm__ volatile("rdtsc" : "=a" (eax), "=d" (edx));
ret2 = ((unsigned long long)eax) | (((unsigned long long)edx) << 32);
return ret2 - ret;
}