Changeset 74047 in vbox for trunk/src/VBox/VMM/VMMR3/CPUM.cpp
- Timestamp:
- Sep 3, 2018 4:10:27 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124803
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r73870 r74047 916 916 pVCpu->cpum.s.Guest.hwvirt.vmx.pVmcsR3 = NULL; 917 917 } 918 if (pVCpu->cpum.s.Guest.hwvirt.vmx.pvVirtApicPageR3) 919 { 920 SUPR3PageFreeEx(pVCpu->cpum.s.Guest.hwvirt.vmx.pvVirtApicPageR3, VMX_V_VIRT_APIC_PAGES); 921 pVCpu->cpum.s.Guest.hwvirt.vmx.pvVirtApicPageR3 = NULL; 922 } 918 923 } 919 924 } … … 948 953 Assert(!pVCpu->cpum.s.Guest.hwvirt.vmx.pVmcsR3); 949 954 LogRel(("CPUM%u: Failed to alloc %u pages for the nested-guest's VMCS\n", pVCpu->idCpu, VMX_V_VMCS_PAGES)); 955 break; 956 } 957 958 /* 959 * Allocate the Virtual-APIC page. 960 */ 961 Assert(!pVCpu->cpum.s.Guest.hwvirt.vmx.pvVirtApicPageR3); 962 rc = SUPR3PageAllocEx(VMX_V_VIRT_APIC_PAGES, 0 /* fFlags */, &pVCpu->cpum.s.Guest.hwvirt.vmx.pvVirtApicPageR3, 963 &pVCpu->cpum.s.Guest.hwvirt.vmx.pvVirtApicPageR0, NULL /* paPages */); 964 if (RT_FAILURE(rc)) 965 { 966 Assert(!pVCpu->cpum.s.Guest.hwvirt.vmx.pvVirtApicPageR3); 967 LogRel(("CPUM%u: Failed to alloc %u pages for the nested-guest's Virtual-APIC page\n", pVCpu->idCpu, 968 VMX_V_VIRT_APIC_PAGES)); 950 969 break; 951 970 }
Note:
See TracChangeset
for help on using the changeset viewer.