Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Drivers: hv: Resolve ambiguity in hypervisor version log

Update the log message in hv_common_init to explicitly state that the
reported version is for the Microsoft Hypervisor, not the host OS.

Previously, this message was accurate for guests running on Windows
hosts, where the host and hypervisor versions matched. With support for
Linux hosts running the Hyper-V hypervisor, the host OS and hypervisor
versions may differ.

This change avoids confusion by making it clear that the version refers to
the Microsoft Hypervisor regardless of the host operating system.

Signed-off-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Reviewed-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>

authored by

Stanislav Kinsburskii and committed by
Wei Liu
5f4b5edc 6626f815

+2 -2
+2 -2
drivers/hv/hv_common.c
··· 315 315 int i; 316 316 union hv_hypervisor_version_info version; 317 317 318 - /* Get information about the Hyper-V host version */ 318 + /* Get information about the Microsoft Hypervisor version */ 319 319 if (!hv_get_hypervisor_version(&version)) 320 - pr_info("Hyper-V: Host Build %d.%d.%d.%d-%d-%d\n", 320 + pr_info("Hyper-V: Hypervisor Build %d.%d.%d.%d-%d-%d\n", 321 321 version.major_version, version.minor_version, 322 322 version.build_number, version.service_number, 323 323 version.service_pack, version.service_branch);