]> git.baikalelectronics.ru Git - kernel.git/commit
x86, hyper: Change hypervisor detection order
authorAnupam Chanda <achanda@nicira.com>
Fri, 8 Jul 2011 18:42:50 +0000 (11:42 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 8 Jul 2011 23:22:29 +0000 (16:22 -0700)
commitd2288170fbc69ea3f8aab63006f4f1920e0fa986
tree422cb4383bf5978bf28c11a8621f5ed2f8b06683
parentbc2c5ebdc8745b131d5424fb6cd893be863e819e
x86, hyper: Change hypervisor detection order

Detect Xen before HyperV because in Viridian compatibility mode Xen
presents itself as HyperV.  Move Xen to the top since it seems more
likely that Xen would emulate VMware than vice versa.

Signed-off-by: Anupam Chanda <achanda@nicira.com>
Link: http://lkml.kernel.org/r/1310150570-26810-1-git-send-email-achanda@nicira.com
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Reviewed-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/cpu/hypervisor.c