Changeset 87488 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jan 29, 2021 6:17:10 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142510
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r87487 r87488 1025 1025 DECLINLINE(PVMXVMCSINFO) hmGetVmxActiveVmcsInfo(PVMCPUCC pVCpu) 1026 1026 { 1027 if (!pVCpu->hm .s.vmx.fSwitchedToNstGstVmcs)1027 if (!pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs) 1028 1028 return &pVCpu->hmr0.s.vmx.VmcsInfo; 1029 1029 return &pVCpu->hmr0.s.vmx.VmcsInfoNstGst; … … 1398 1398 if (RT_SUCCESS(rc)) 1399 1399 { 1400 pVCpu->hm.s.vmx.fSwitchedToNstGstVmcs = fSwitchToNstGstVmcs; 1400 pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs = fSwitchToNstGstVmcs; 1401 pVCpu->hm.s.vmx.fSwitchedToNstGstVmcsShadow = fSwitchToNstGstVmcs; 1401 1402 1402 1403 /* … … 9284 9285 if (RT_SUCCESS(rc)) 9285 9286 { 9286 pVCpu->hm.s.vmx.fSwitchedToNstGstVmcs = fInNestedGuestMode; 9287 pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs = fInNestedGuestMode; 9288 pVCpu->hm.s.vmx.fSwitchedToNstGstVmcsShadow = fInNestedGuestMode; 9287 9289 pVCpu->hmr0.s.fLeaveDone = false; 9288 9290 Log4Func(("Loaded Vmcs. HostCpuId=%u\n", RTMpCpuId())); … … 11283 11285 * guest VMCS while entering the VMX ring-0 session. 11284 11286 */ 11285 if (pVCpu->hm .s.vmx.fSwitchedToNstGstVmcs)11287 if (pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs) 11286 11288 { 11287 11289 int rc = hmR0VmxSwitchToGstOrNstGstVmcs(pVCpu, false /* fSwitchToNstGstVmcs */); … … 11395 11397 * loaded the nested-guest VMCS while entering the VMX ring-0 session. 11396 11398 */ 11397 if (!pVCpu->hm .s.vmx.fSwitchedToNstGstVmcs)11399 if (!pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs) 11398 11400 { 11399 11401 int rc = hmR0VmxSwitchToGstOrNstGstVmcs(pVCpu, true /* fSwitchToNstGstVmcs */);
Note:
See TracChangeset
for help on using the changeset viewer.