VirtualBox

Changeset 76198 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Dec 13, 2018 7:17:44 AM (6 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:9180 Use Intel terminology of 'allowed-0' and 'allowed-1'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h

    r76050 r76198  
    62276227    VMXCTLSMSR EntryCtls;
    62286228    EntryCtls.u = CPUMGetGuestIa32VmxEntryCtls(pVCpu);
    6229     if (~pVmcs->u32EntryCtls & EntryCtls.n.disallowed0)
     6229    if (~pVmcs->u32EntryCtls & EntryCtls.n.allowed0)
    62306230        IEM_VMX_VMENTRY_FAILED_RET(pVCpu, pszInstr, pszFailure, kVmxVDiag_Vmentry_EntryCtlsDisallowed0);
    62316231
     
    63306330    VMXCTLSMSR ExitCtls;
    63316331    ExitCtls.u = CPUMGetGuestIa32VmxExitCtls(pVCpu);
    6332     if (~pVmcs->u32ExitCtls & ExitCtls.n.disallowed0)
     6332    if (~pVmcs->u32ExitCtls & ExitCtls.n.allowed0)
    63336333        IEM_VMX_VMENTRY_FAILED_RET(pVCpu, pszInstr, pszFailure, kVmxVDiag_Vmentry_ExitCtlsDisallowed0);
    63346334
     
    63856385        VMXCTLSMSR PinCtls;
    63866386        PinCtls.u = CPUMGetGuestIa32VmxPinbasedCtls(pVCpu);
    6387         if (~pVmcs->u32PinCtls & PinCtls.n.disallowed0)
     6387        if (~pVmcs->u32PinCtls & PinCtls.n.allowed0)
    63886388            IEM_VMX_VMENTRY_FAILED_RET(pVCpu, pszInstr, pszFailure, kVmxVDiag_Vmentry_PinCtlsDisallowed0);
    63896389
     
    63966396        VMXCTLSMSR ProcCtls;
    63976397        ProcCtls.u = CPUMGetGuestIa32VmxProcbasedCtls(pVCpu);
    6398         if (~pVmcs->u32ProcCtls & ProcCtls.n.disallowed0)
     6398        if (~pVmcs->u32ProcCtls & ProcCtls.n.allowed0)
    63996399            IEM_VMX_VMENTRY_FAILED_RET(pVCpu, pszInstr, pszFailure, kVmxVDiag_Vmentry_ProcCtlsDisallowed0);
    64006400
     
    64086408        VMXCTLSMSR ProcCtls2;
    64096409        ProcCtls2.u = CPUMGetGuestIa32VmxProcbasedCtls2(pVCpu);
    6410         if (~pVmcs->u32ProcCtls2 & ProcCtls2.n.disallowed0)
     6410        if (~pVmcs->u32ProcCtls2 & ProcCtls2.n.allowed0)
    64116411            IEM_VMX_VMENTRY_FAILED_RET(pVCpu, pszInstr, pszFailure, kVmxVDiag_Vmentry_ProcCtls2Disallowed0);
    64126412
Note: See TracChangeset for help on using the changeset viewer.

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