summaryrefslogtreecommitdiffstats
path: root/tools/hv
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2012-08-31 07:32:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-05 00:55:34 +0200
commit1f94ea8181a9305a5d5cf635a6a4e9ac8ee3d2c3 (patch)
tree995ce59ace664ddcbab58a4042dac1b8e8e346f4 /tools/hv
parentdebugfs: more tightly restrict default mount mode (diff)
downloadlinux-1f94ea8181a9305a5d5cf635a6a4e9ac8ee3d2c3.tar.xz
linux-1f94ea8181a9305a5d5cf635a6a4e9ac8ee3d2c3.zip
hv: vmbus_drv: detect hyperv through x86_hyper
There are two reasons we need to use x86_hyper instead of query_hypervisor_presence(): - Not only hyperv but also other hypervisors such as kvm would set X86_FEATURE_HYTPERVISOR, so query_hypervisor_presence() will return true even in kvm. This may cause extra delay of 5 seconds before failing the probing in kvm guest. - The hypervisor has been detected in init_hypervisor(), so no need to do the work again. Signed-off-by: Jason Wang <jasowang@redhat.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Acked-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions