Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 229246

Re: how to disable vm exit on cpuid 0x00 ?

$
0
0

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;

}



Viewing all articles
Browse latest Browse all 229246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>