Skip to content

Commit 5f4b5ed

Browse files
Stanislav Kinsburskiiliuw
authored andcommitted
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>
1 parent 6626f81 commit 5f4b5ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/hv/hv_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,9 @@ int __init hv_common_init(void)
315315
int i;
316316
union hv_hypervisor_version_info version;
317317

318-
/* Get information about the Hyper-V host version */
318+
/* Get information about the Microsoft Hypervisor version */
319319
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",
321321
version.major_version, version.minor_version,
322322
version.build_number, version.service_number,
323323
version.service_pack, version.service_branch);

0 commit comments

Comments
 (0)