mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv: remove repeated assignment
remove repeated assignment for vmcs_pa. Tracked-On: #4956 Signed-off-by: Conghui Chen <conghui.chen@intel.com>
This commit is contained in:
@@ -530,7 +530,6 @@ void init_vmcs(struct acrn_vcpu *vcpu)
|
||||
exec_vmclear((void *)&vmcs_pa);
|
||||
|
||||
/* Load VMCS pointer */
|
||||
vmcs_pa = hva2hpa(vcpu->arch.vmcs);
|
||||
exec_vmptrld((void *)&vmcs_pa);
|
||||
*vmcs_ptr = (void *)vcpu->arch.vmcs;
|
||||
|
||||
|
Reference in New Issue
Block a user