Page MenuHomeFreeBSD

D7949.id20843.diff
No OneTemporary

D7949.id20843.diff

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

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)

Event Timeline