Changeset 43354 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 18, 2012 3:25:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r43307 r43354 223 223 { 224 224 /* Allocate one page for the APIC physical page (serves for filtering accesses). */ 225 rc = RTR0MemObjAllocCont(&pVM->hwaccm.s.vmx.pMemObjAPIC, PAGE_SIZE, true /* executable R0 mapping */);225 rc = RTR0MemObjAllocCont(&pVM->hwaccm.s.vmx.pMemObjAPIC, PAGE_SIZE, false /* executable R0 mapping */); 226 226 AssertRC(rc); 227 227 if (RT_FAILURE(rc)) … … 241 241 #ifdef VBOX_WITH_CRASHDUMP_MAGIC 242 242 { 243 rc = RTR0MemObjAllocCont(&pVM->hwaccm.s.vmx.pMemObjScratch, PAGE_SIZE, true /* executable R0 mapping */);243 rc = RTR0MemObjAllocCont(&pVM->hwaccm.s.vmx.pMemObjScratch, PAGE_SIZE, false /* executable R0 mapping */); 244 244 AssertRC(rc); 245 245 if (RT_FAILURE(rc)) … … 263 263 264 264 /* Allocate one page for the VM control structure (VMCS). */ 265 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.hMemObjVMCS, PAGE_SIZE, true /* executable R0 mapping */);265 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.hMemObjVMCS, PAGE_SIZE, false /* executable R0 mapping */); 266 266 AssertRC(rc); 267 267 if (RT_FAILURE(rc)) … … 276 276 277 277 /* Allocate one page for the virtual APIC page for TPR caching. */ 278 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.hMemObjVAPIC, PAGE_SIZE, true /* executable R0 mapping */);278 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.hMemObjVAPIC, PAGE_SIZE, false /* executable R0 mapping */); 279 279 AssertRC(rc); 280 280 if (RT_FAILURE(rc)) … … 288 288 if (pVM->hwaccm.s.vmx.msr.vmx_proc_ctls.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_MSR_BITMAPS) 289 289 { 290 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.pMemObjMSRBitmap, PAGE_SIZE, true /* executable R0 mapping */);290 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.pMemObjMSRBitmap, PAGE_SIZE, false /* executable R0 mapping */); 291 291 AssertRC(rc); 292 292 if (RT_FAILURE(rc)) … … 300 300 #ifdef VBOX_WITH_AUTO_MSR_LOAD_RESTORE 301 301 /* Allocate one page for the guest MSR load area (for preloading guest MSRs during the world switch). */ 302 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.pMemObjGuestMSR, PAGE_SIZE, true /* executable R0 mapping */);302 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.pMemObjGuestMSR, PAGE_SIZE, false /* executable R0 mapping */); 303 303 AssertRC(rc); 304 304 if (RT_FAILURE(rc)) … … 311 311 312 312 /* Allocate one page for the host MSR load area (for restoring host MSRs after the world switch back). */ 313 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.pMemObjHostMSR, PAGE_SIZE, true /* executable R0 mapping */);313 rc = RTR0MemObjAllocCont(&pVCpu->hwaccm.s.vmx.pMemObjHostMSR, PAGE_SIZE, false /* executable R0 mapping */); 314 314 AssertRC(rc); 315 315 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.