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:
parent
efa439f740
commit
c34e9dbee1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221188
@ -296,7 +296,7 @@ printcpuinfo(void)
|
||||
"\035<b28>"
|
||||
"\036<b29>"
|
||||
"\037<b30>"
|
||||
"\040<b31>"
|
||||
"\040HV" /* Hypervisor */
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -773,7 +773,7 @@ printcpuinfo(void)
|
||||
"\035<b28>"
|
||||
"\036<b29>"
|
||||
"\037<b30>"
|
||||
"\040<b31>"
|
||||
"\040HV" /* Hypervisor */
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user