Date: Fri, 08 Apr 2016 12:49:09 +0300 From: Alexander Motin <mavbsd@gmail.com> To: Konstantin Belousov <kostikbel@gmail.com>, Sepherosa Ziehau <sephe@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus Message-ID: <57077E95.1030505@gmail.com> In-Reply-To: <20160408094248.GM1741@kib.kiev.ua> References: <201604080920.u389KliR048702@repo.freebsd.org> <20160408094248.GM1741@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57077E95.1030505>