RE: [PATCH] hv: vmbus_drv: detect hyperv through x86_hyper

2012-08-31 Thread KY Srinivasan
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Friday, August 31, 2012 1:33 AM > To: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org > Cc: Jason Wang; KY Srinivasan; Haiyang Zhang > Subject: [PATCH] hv: vmbus_drv: detect hyperv

RE: [PATCH] hv: vmbus_drv: detect hyperv through x86_hyper

2012-08-31 Thread KY Srinivasan
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Friday, August 31, 2012 1:33 AM To: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org Cc: Jason Wang; KY Srinivasan; Haiyang Zhang Subject: [PATCH] hv: vmbus_drv: detect hyperv through x86_hyper

[PATCH] hv: vmbus_drv: detect hyperv through x86_hyper

2012-08-30 Thread Jason Wang
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

[PATCH] hv: vmbus_drv: detect hyperv through x86_hyper

2012-08-30 Thread Jason Wang
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