]> git.baikalelectronics.ru Git - kernel.git/commit
x86/hyperv: Set pv_info.name to "Hyper-V"
authorAndrea Parri <parri.andrea@gmail.com>
Tue, 15 Oct 2019 10:35:02 +0000 (12:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 18 Oct 2019 11:33:38 +0000 (13:33 +0200)
commit04960229d12f554b4cdb9782b5b6801ff8569a75
tree70085ba6bfe4b402cf0969a54d53ce3c183d3bbe
parentabac5ae418b60e94a046bc0559bb7aad249f9870
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
arch/x86/kernel/cpu/mshyperv.c