08 May, 2010
1 commit
-
Clean up the hypervisor layer and the hypervisor drivers, using an ops
structure instead of an enumeration with if statements.The identity of the hypervisor, if needed, can be tested by testing
the pointer value in x86_hyper.The MS-HyperV private state is moved into a normal global variable
(it's per-system state, not per-CPU state). Being a normal bss
variable, it will be left at all zero on non-HyperV platforms, and so
can generally be tested for HyperV-specific features without
additional qualification.Signed-off-by: H. Peter Anvin
Acked-by: Greg KH
Cc: Hank Janssen
Cc: Alok Kataria
Cc: Ky Srinivasan
LKML-Reference:
07 May, 2010
1 commit
-
This patch integrates HyperV detection within the framework currently
used by VmWare. With this patch, we can avoid having to replicate the
HyperV detection code in each of the Microsoft HyperV drivers.Reworked and tweaked by Greg K-H to build properly.
Signed-off-by: K. Y. Srinivasan
LKML-Reference:
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: Vadim Rozenfeld
Cc: Avi Kivity
Cc: Gleb Natapov
Cc: Frederic Weisbecker
Cc: Alexey Dobriyan
Cc: "K.Prasad"
Cc: Peter Zijlstra
Cc: Stephane Eranian
Cc: Paul Mackerras
Cc: Alan Cox
Cc: Haiyang Zhang
Cc: Hank Janssen
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: H. Peter Anvin