Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167048179
D58885.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
848 B
Referenced Files
None
Subscribers
None
D58885.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D58885: vmm: Emulate CPUID leaf 1Fh for guests
Attached
Detach File
Event Timeline
Log In to Comment