]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Drivers: hv: Bind all vmbbus interrupts to the boot CPU
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 18 Jan 2013 05:00:51 +0000 (21:00 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Jan 2013 00:03:33 +0000 (16:03 -0800)
The default interrupt delivery model in Linux does not support the Hyper-V
vmbus delivery model when the guest is configured with multiple VCPUs. I have
sent a patch to address this - delivering the vmbus interrupt on a separate
IDT vector. Until this patch is applied, bind all vmbus interrupts to the boot
CPU.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c

index c80fe6245f5b465ecdfefd16b7ef2c455091f14b..7478ef914b9a77f076354568ee28a596e23c61f2 100644 (file)
@@ -337,7 +337,7 @@ static u32 get_vp_index(uuid_le *type_guid)
                return 0;
        }
        cur_cpu = (++next_vp % max_cpus);
-       return hv_context.vp_index[cur_cpu];
+       return 0;
 }
 
 /*