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:
parent
ca9e98cc74
commit
53f74f18ac
|
@ -530,7 +530,6 @@ void init_vmcs(struct acrn_vcpu *vcpu)
|
||||||
exec_vmclear((void *)&vmcs_pa);
|
exec_vmclear((void *)&vmcs_pa);
|
||||||
|
|
||||||
/* Load VMCS pointer */
|
/* Load VMCS pointer */
|
||||||
vmcs_pa = hva2hpa(vcpu->arch.vmcs);
|
|
||||||
exec_vmptrld((void *)&vmcs_pa);
|
exec_vmptrld((void *)&vmcs_pa);
|
||||||
*vmcs_ptr = (void *)vcpu->arch.vmcs;
|
*vmcs_ptr = (void *)vcpu->arch.vmcs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue