/* HvQueryHypervisorPresence - Query the cpuid for presense of windows hypervisor  */
static int HvQueryHypervisorPresence(void)
/* HvQueryHypervisorPresence - Query the cpuid for presense of windows hypervisor  */
static int HvQueryHypervisorPresence(void)
{
	unsigned int eax;
	unsigned int ebx;
	unsigned int ecx;
	unsigned int edx;
	unsigned int op;
	eax = 0;
	ebx = 0;
	ecx = 0;
	edx = 0;
	op = HvCpuIdFunctionVersionAndFeatures;
	cpuid(op, &eax, &ebx, &ecx, &edx);
	return ecx & HV_PRESENT_BIT;
}