[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191015102527.GA12412@andrea.guest.corp.microsoft.com>
Date: Tue, 15 Oct 2019 12:25:27 +0200
From: Andrea Parri <parri.andrea@...il.com>
To: Wei Liu <wei.liu@...nel.org>
Cc: Linux Kernel List <linux-kernel@...r.kernel.org>,
Linux on Hyper-V List <linux-hyperv@...r.kernel.org>,
x86@...nel.org, "K . Y . Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Sasha Levin <sashal@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H . Peter Anvin" <hpa@...or.com>,
Michael Kelley <mikelley@...rosoft.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Dexuan Cui <decui@...rosoft.com>
Subject: Re: [PATCH] x86/hyperv: Set pv_info.name to "Hyper-V"
> > @@ -154,6 +154,8 @@ static uint32_t __init ms_hyperv_platform(void)
>
> This function is for platform detection only.
>
> > if (!boot_cpu_has(X86_FEATURE_HYPERVISOR))
> > return 0;
> >
> > + pv_info.name = "Hyper-V";
> > +
>
> At this point we're not sure if Linux is really running on Hyper-V yet.
>
> Setting pv_info.name should be moved to the init_platform hook, i.e.
> ms_hyperv_init_platform.
Thank you for the review, Wei. I'll move this to the init_platform hook
and re-submit shortly.
Thanks,
Andrea
Powered by blists - more mailing lists