mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
rename vmexit handlers
this patch is to align the suffix of the handlers' name. Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include <acrn_hv_defs.h>
|
||||
#include <hypercall.h>
|
||||
|
||||
int vmcall_handler(struct vcpu *vcpu)
|
||||
int vmcall_vmexit_handler(struct vcpu *vcpu)
|
||||
{
|
||||
int64_t ret = 0;
|
||||
struct vm *vm = vcpu->vm;
|
||||
|
@@ -173,7 +173,7 @@ void init_msr_emulation(struct vcpu *vcpu)
|
||||
memset(vcpu->guest_msrs, 0, msrs_count * sizeof(uint64_t));
|
||||
}
|
||||
|
||||
int rdmsr_handler(struct vcpu *vcpu)
|
||||
int rdmsr_vmexit_handler(struct vcpu *vcpu)
|
||||
{
|
||||
uint32_t msr;
|
||||
uint64_t v = 0;
|
||||
@@ -262,7 +262,7 @@ int rdmsr_handler(struct vcpu *vcpu)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int wrmsr_handler(struct vcpu *vcpu)
|
||||
int wrmsr_vmexit_handler(struct vcpu *vcpu)
|
||||
{
|
||||
uint32_t msr;
|
||||
uint64_t v;
|
||||
|
Reference in New Issue
Block a user