mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
Drivers: hv: Bind all vmbbus interrupts to the boot CPU
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>
This commit is contained in:
parent
83ebf6e562
commit
0f3f2f86b2
@ -337,7 +337,7 @@ static u32 get_vp_index(uuid_le *type_guid)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
cur_cpu = (++next_vp % max_cpus);
|
cur_cpu = (++next_vp % max_cpus);
|
||||||
return hv_context.vp_index[cur_cpu];
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user