mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
vmexit: refine vmexit loop
- move vmexit handling into vmexit_handler - add error handling, failure will inject #GP Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -36,7 +36,7 @@ struct vm_exit_dispatch {
|
||||
uint32_t need_exit_qualification;
|
||||
};
|
||||
|
||||
struct vm_exit_dispatch *vmexit_handler(struct vcpu *vcpu);
|
||||
int vmexit_handler(struct vcpu *vcpu);
|
||||
int vmcall_vmexit_handler(struct vcpu *vcpu);
|
||||
int cpuid_vmexit_handler(struct vcpu *vcpu);
|
||||
int cr_access_vmexit_handler(struct vcpu *vcpu);
|
||||
|
Reference in New Issue
Block a user