Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171290571
D7949.id20843.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
533 B
Referenced Files
None
Subscribers
None
D7949.id20843.diff
View Options
Index: head/sys/x86/x86/io_apic.c
===================================================================
--- head/sys/x86/x86/io_apic.c
+++ head/sys/x86/x86/io_apic.c
@@ -412,6 +412,18 @@
u_int old_id;
/*
+ * On Hyper-V:
+ * - Stick to the first cpu for all I/O APIC pins.
+ * - And don't allow destination cpu changes.
+ */
+ if (vm_guest == VM_GUEST_HV) {
+ if (intpin->io_vector)
+ return (EINVAL);
+ else
+ apic_id = 0;
+ }
+
+ /*
* keep 1st core as the destination for NMI
*/
if (intpin->io_irq == IRQ_NMI)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 11, 4:34 AM (16 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38683977
Default Alt Text
D7949.id20843.diff (533 B)
Attached To
Mode
D7949: x86/ioapic: Stick to cpu0 for I/O APIC pins on Hyper-V.
Attached
Detach File
Event Timeline
Log In to Comment