Page MenuHomeFreeBSD

D58885.diff
No OneTemporary

D58885.diff

diff --git a/sys/amd64/vmm/x86.h b/sys/amd64/vmm/x86.h
--- a/sys/amd64/vmm/x86.h
+++ b/sys/amd64/vmm/x86.h
@@ -42,6 +42,7 @@
#define CPUID_0000_000F (0xF)
#define CPUID_0000_0010 (0x10)
#define CPUID_0000_0015 (0x15)
+#define CPUID_0000_001F (0x1F)
#define CPUID_8000_0000 (0x80000000)
#define CPUID_8000_0001 (0x80000001)
#define CPUID_8000_0002 (0x80000002)
diff --git a/sys/amd64/vmm/x86.c b/sys/amd64/vmm/x86.c
--- a/sys/amd64/vmm/x86.c
+++ b/sys/amd64/vmm/x86.c
@@ -493,8 +493,11 @@
break;
case CPUID_0000_000B:
+ case CPUID_0000_001F:
/*
- * Intel processor topology enumeration
+ * Intel processor topology enumeration. Leaf 1Fh
+ * is the V2 form of leaf 0Bh and uses the same
+ * encoding for the SMT and core levels.
*/
if (vmm_is_intel()) {
vm_get_topology(vm, &sockets, &cores, &threads,

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 19, 7:42 PM (14 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36886994
Default Alt Text
D58885.diff (848 B)

Event Timeline