]> git.baikalelectronics.ru Git - kernel.git/commit
x86, hyperv: Handle Xen emulation of Hyper-V more gracefully
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 18 Apr 2013 15:44:46 +0000 (08:44 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 18 Apr 2013 15:59:20 +0000 (08:59 -0700)
commite64955baded10ce75bfe4ae2d3d2ceb8c36dbc71
treef4188a806757a042a0665891cff8aa2f5995c53a
parent5bd8166ae4e6b87b1fbfa594a3e1be866ef21c75
x86, hyperv: Handle Xen emulation of Hyper-V more gracefully

Install the Hyper-V specific interrupt handler only when needed. This would
permit us to get rid of the Xen check. Note that when the vmbus drivers invokes
the call to register its handler, we are sure to be running on Hyper-V.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Link: http://lkml.kernel.org/r/1366299886-6399-1-git-send-email-kys@microsoft.com
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/cpu/mshyperv.c