svn commit: r297699 - head/sys/dev/hyperv/vmbus

Alexander Motin mavbsd at gmail.com
Fri Apr 8 09:49:14 UTC 2016


On 08.04.16 12:42, Konstantin Belousov wrote:
> On Fri, Apr 08, 2016 at 09:20:47AM +0000, Sepherosa Ziehau wrote:
>> Author: sephe
>> Date: Fri Apr  8 09:20:46 2016
>> New Revision: 297699
>> URL: https://svnweb.freebsd.org/changeset/base/297699
>>
>> Log:
>>   hyperv: Revert r297481
>>   
>>   Use vm_guest == VM_GUEST_HV is not enough to determine whether FreeBSD
>>   is running on Hyper-V or not.  What a mess.
> 
> Can you explain why ?
> 
> VM_GUEST_HV is only set in inentify_hypervisor() when the vendor string
> explicitely contained 'Microsoft Hv'.  How can this be mis-interpreted
> to be a Xen id ?

Xen has some odd "Hyper-V compatibility mode", that is identified as
Hyper-V, but not very compatible in practice.

-- 
Alexander Motin


More information about the svn-src-all mailing list