align the coding style when access VMEXIT_QUAL

- align coding style to avoid redundant operations
   when operating on reading  VMX_EXIT_QUALIFICATION

Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
Yonghua Huang
2018-03-14 00:56:05 +08:00
committed by Jack Ren
parent 337706b6ba
commit 83e78e16c7
3 changed files with 10 additions and 6 deletions

View File

@@ -414,7 +414,7 @@ int ept_violation_handler(struct vcpu *vcpu)
uint64_t gpa;
/* Handle page fault from guest */
exit_qual = exec_vmread(VMX_EXIT_QUALIFICATION);
exit_qual = vcpu->arch_vcpu.exit_qualification;
memset(&vcpu->req, 0, sizeof(struct vhm_request));