VirtualBox

Changeset 11706 in vbox


Ignore:
Timestamp:
Aug 27, 2008 2:58:27 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35438
Message:

No need to enable VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_MSR_BITMAPS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r11697 r11706  
    201201        memset(pVM->hwaccm.s.vmx.pMSRBitmap, 0xff, PAGE_SIZE);
    202202    }
     203
    203204#ifdef LOG_ENABLED
    204205    SUPR0Printf("VMXR0InitVM %x VMCS=%x (%x) RealModeTSS=%x (%x)\n", pVM, pVM->hwaccm.s.vmx.pVMCS, (uint32_t)pVM->hwaccm.s.vmx.pVMCSPhys, pVM->hwaccm.s.vmx.pRealModeTSS, (uint32_t)pVM->hwaccm.s.vmx.pRealModeTSSPhys);
     
    311312#endif
    312313
     314#ifdef VBOX_WITH_VTX_MSR_BITMAPS
    313315    if (pVM->hwaccm.s.vmx.msr.vmx_proc_ctls.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_MSR_BITMAPS)
    314316    {
     
    316318        val |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_USE_MSR_BITMAPS;
    317319    }
     320#endif
    318321
    319322    /* Mask away the bits that the CPU doesn't support */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette