Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162635477
D55429.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
647 B
Referenced Files
None
Subscribers
None
D55429.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
@@ -73,6 +73,7 @@
#include <machine/specialreg.h>
#include <x86/init.h>
#include <x86/kvm.h>
+#include <contrib/xen/arch-x86/cpuid.h>
#ifdef DDB
#include <sys/interrupt.h>
@@ -2100,6 +2101,11 @@
/* Check if we support extended destination IDs. */
switch (vm_guest) {
+ case VM_GUEST_XEN:
+ cpuid_count(hv_base + 4, 0, regs);
+ if (regs[0] & XEN_HVM_CPUID_EXT_DEST_ID)
+ apic_ext_dest_id = 1;
+ break;
case VM_GUEST_KVM:
kvm_cpuid_get_features(regs);
if (regs[0] & KVM_FEATURE_MSI_EXT_DEST_ID)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 7:09 AM (22 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35128614
Default Alt Text
D55429.diff (647 B)
Attached To
Mode
D55429: Xen: Detect Extended Destination ID support
Attached
Detach File
Event Timeline
Log In to Comment