x86/hyperv: Set pv_info.name to "Hyper-V"

Michael reported that the x86/hyperv initialization code prints the
following dmesg when running in a VM on Hyper-V:

[ 0.000738] Booting paravirtualized kernel on bare hardware

Let the x86/hyperv initialization code set pv_info.name to "Hyper-V" so
dmesg reports correctly:

[ 0.000172] Booting paravirtualized kernel on Hyper-V

[ tglx: Folded build fix provided by Yue ]

Reported-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Andrea Parri <parri.andrea@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Cc: YueHaibing <yuehaibing@huawei.com>
Link: https://lkml.kernel.org/r/20191015103502.13156-1-parri.andrea@gmail.com


authored by Andrea Parri and committed by Thomas Gleixner f7c0f50f 7a22e03b

Changed files
+4
arch
x86
kernel
+4
arch/x86/kernel/cpu/mshyperv.c
··· 216 216 int hv_host_info_ecx; 217 217 int hv_host_info_edx; 218 218 219 + #ifdef CONFIG_PARAVIRT 220 + pv_info.name = "Hyper-V"; 221 + #endif 222 + 219 223 /* 220 224 * Extract the features and hints 221 225 */