From 3f9c2495e5e951ad588d8201bb6215e597ad85ac Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 3 Apr 2022 16:59:44 +0100 Subject: [PATCH] Kernel: Remove EBX, ECX, and EDX values from hypervisor dmesgln() --- Kernel/Arch/x86/common/Processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Arch/x86/common/Processor.cpp b/Kernel/Arch/x86/common/Processor.cpp index 941e172eac..117451ecde 100644 --- a/Kernel/Arch/x86/common/Processor.cpp +++ b/Kernel/Arch/x86/common/Processor.cpp @@ -677,7 +677,7 @@ UNMAP_AFTER_INIT void Processor::detect_hypervisor() { CPUID hypervisor_leaf_range(0x40000000); auto hypervisor_vendor_id_string = m_info->hypervisor_vendor_id_string(); - dmesgln("CPU[{}]: CPUID hypervisor signature '{}' ({:#x} {:#x} {:#x}), max leaf {:#x}", current_id(), hypervisor_vendor_id_string, hypervisor_leaf_range.ebx(), hypervisor_leaf_range.ecx(), hypervisor_leaf_range.edx(), hypervisor_leaf_range.eax()); + dmesgln("CPU[{}]: CPUID hypervisor signature '{}', max leaf {:#x}", current_id(), hypervisor_vendor_id_string, hypervisor_leaf_range.eax()); if (hypervisor_vendor_id_string == "Microsoft Hv"sv) detect_hypervisor_hyperv(hypervisor_leaf_range);