Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159322236
D55431.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
615 B
Referenced Files
None
Subscribers
None
D55431.diff
View Options
diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -74,6 +74,7 @@
#include <x86/init.h>
#include <x86/kvm.h>
#include <contrib/xen/arch-x86/cpuid.h>
+#include <x86/bhyve.h>
#ifdef DDB
#include <sys/interrupt.h>
@@ -2111,6 +2112,13 @@
if (regs[0] & KVM_FEATURE_MSI_EXT_DEST_ID)
apic_ext_dest_id = 1;
break;
+ case VM_GUEST_BHYVE:
+ if (hv_high < CPUID_BHYVE_FEATURES)
+ break;
+ cpuid_count(CPUID_BHYVE_FEATURES, 0, regs);
+ if (regs[0] & CPUID_BHYVE_FEAT_EXT_DEST_ID)
+ apic_ext_dest_id = 1;
+ break;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 13, 9:02 PM (13 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29877464
Default Alt Text
D55431.diff (615 B)
Attached To
Mode
D55431: Bhyve: Detect Extended Destination ID support
Attached
Detach File
Event Timeline
Log In to Comment