On Fri, Apr 8, 2016 at 5:49 PM Alexander Motin <[email protected]> wrote:

> 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.
>
Per hyper-V document, it needs more checks about if one feature is
available on certain hypervisor.  As far as I know, KVM, QEMU (after 1.1),
VirtualBox all have the simliar Windows hypervisor emulation mode to make
Windows Runs faster. So we need handle this more strictly following the
spec. There is already a patch  under testing now, which may reach the tree
soon.


>
> --
> Alexander Motin
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "[email protected]"
>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to