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:
Yonghua Huang
2018-04-16 19:57:05 +08:00
committed by Jack Ren
parent 5b06d17fb1
commit bb011a4316
11 changed files with 33 additions and 33 deletions

View File

@@ -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;

View File

@@ -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;