Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2017 17:34:39 +0000
From:      Dexuan Cui <decui@microsoft.com>
To:        Jung-uk Kim <jkim@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Cc:        Yanmin Qiao <yaqia@microsoft.com>, Hongjiang Zhang <honzhan@microsoft.com>
Subject:   RE: svn commit: r322076 - in head/sys: amd64/amd64 i386/i386 x86/include x86/x86
Message-ID:  <KL1P15301MB000864AEBB008431C23226BFBF8B0@KL1P15301MB0008.APCP153.PROD.OUTLOOK.COM>
In-Reply-To: <331d02b4-a315-70e5-7fe9-2e767554a148@FreeBSD.org>
References:  <201708050656.v756uk48076256@repo.freebsd.org> <KL1P15301MB0008FB78F813459914B41EDABF8B0@KL1P15301MB0008.APCP153.PROD.OUTLOOK.COM> <331d02b4-a315-70e5-7fe9-2e767554a148@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> From: owner-src-committers@freebsd.org [mailto:owner-src-
> committers@freebsd.org] On Behalf Of Jung-uk Kim
> Sent: Wednesday, August 9, 2017 10:03
> To: Dexuan Cui <decui@microsoft.com>; src-committers@freebsd.org; svn-src-
> all@freebsd.org; svn-src-head@freebsd.org
> Cc: Yanmin Qiao <yaqia@microsoft.com>; Hongjiang Zhang
> <honzhan@microsoft.com>
> Subject: Re: svn commit: r322076 - in head/sys: amd64/amd64 i386/i386
> x86/include x86/x86
> 
> On 08/09/2017 00:09, Dexuan Cui wrote:
> > Hi jkim,
> > The patch breaks FreeBSD VM on Hyper-V.
> >
> > identify_hypervisor() is moved from identify_cpu() to an earlier place, but the
> global
> > variable cpu_feature2 used by the function is still initialized in identify_cpu().
> >
> > I'm not sure about the background of your patch. Can you please have a look?
> 
> Can you please test the attached patch?
> 
> Jung-uk Kim

I tested the patch only with my  x86_64 VM, and it worked.  

Thanks for the quick fix!

-- Dexuan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KL1P15301MB000864AEBB008431C23226BFBF8B0>