1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Define "Hypervisor Present" bit. This bit is used by several hypervisors to

identify CPUs running under emulation.  Currently QEMU-KVM, Xen-HVM, VMware,
and MS Hyper-V are known to set this bit.

MFC after:	3 days
This commit is contained in:
Jung-uk Kim 2011-04-28 22:23:39 +00:00
parent efa439f740
commit c34e9dbee1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221188
4 changed files with 4 additions and 2 deletions

View File

@ -296,7 +296,7 @@ printcpuinfo(void)
"\035<b28>"
"\036<b29>"
"\037<b30>"
"\040<b31>"
"\040HV" /* Hypervisor */
);
}

View File

@ -134,6 +134,7 @@
#define CPUID2_MOVBE 0x00400000
#define CPUID2_POPCNT 0x00800000
#define CPUID2_AESNI 0x02000000
#define CPUID2_HV 0x80000000
/*
* Important bits in the Thermal and Power Management flags

View File

@ -773,7 +773,7 @@ printcpuinfo(void)
"\035<b28>"
"\036<b29>"
"\037<b30>"
"\040<b31>"
"\040HV" /* Hypervisor */
);
}

View File

@ -131,6 +131,7 @@
#define CPUID2_MOVBE 0x00400000
#define CPUID2_POPCNT 0x00800000
#define CPUID2_AESNI 0x02000000
#define CPUID2_HV 0x80000000
/*
* Important bits in the Thermal and Power Management flags