Re: [PATCH v18 006/121] KVM: x86/vmx: Refactor KVM VMX module init/exit functions

From: Xiaoyao Li
Date: Wed Jan 31 2024 - 20:41:22 EST


On 1/23/2024 7:52 AM, isaku.yamahata@xxxxxxxxx wrote:

..

diff --git a/arch/x86/kvm/vmx/x86_ops.h b/arch/x86/kvm/vmx/x86_ops.h
index b6836bedc4d3..b936388853ab 100644
--- a/arch/x86/kvm/vmx/x86_ops.h
+++ b/arch/x86/kvm/vmx/x86_ops.h
@@ -6,11 +6,24 @@
#include "x86.h"
-__init int vmx_hardware_setup(void);

..

+__init int vmx_hardware_setup(void);

this change belongs to Patch 4

void vmx_hardware_unsetup(void);
int vmx_check_processor_compat(void);
int vmx_hardware_enable(void);