Searched refs:vmx (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/VMM/VMMR0/
H A DHMR0.cpp127 } vmx; member in struct:__anon16832
346 g_HvmR0.vmx.Msrs.u64FeatureCtrl = ASMRdMsr(MSR_IA32_FEATURE_CONTROL);
353 g_HvmR0.vmx.fUsingSUPR0EnableVTx = rc != VERR_NOT_SUPPORTED;
354 if (g_HvmR0.vmx.fUsingSUPR0EnableVTx)
359 g_HvmR0.vmx.fSupported = true;
377 g_HvmR0.vmx.Msrs.u64FeatureCtrl = ASMRdMsr(MSR_IA32_FEATURE_CONTROL);
382 g_HvmR0.vmx.u64HostCr4 = ASMGetCR4();
383 g_HvmR0.vmx.u64HostEfer = ASMRdMsr(MSR_K6_EFER);
384 g_HvmR0.vmx.Msrs.u64BasicInfo = ASMRdMsr(MSR_IA32_VMX_BASIC_INFO);
385 g_HvmR0.vmx
[all...]
H A DHMVMXR0.cpp559 VMXReadVmcs32(VMX_VMCS32_RO_VM_INSTR_ERROR, &pVCpu->hm.s.vmx.LastError.u32InstrError);
773 *(uint32_t *)pvCpuPage = MSR_IA32_VMX_BASIC_INFO_VMCS_ID(pVM->hm.s.vmx.Msrs.u64BasicInfo);
891 hmR0VmxPageFree(&pVCpu->hm.s.vmx.hMemObjHostMsr, &pVCpu->hm.s.vmx.pvHostMsr, &pVCpu->hm.s.vmx.HCPhysHostMsr);
892 hmR0VmxPageFree(&pVCpu->hm.s.vmx.hMemObjGuestMsr, &pVCpu->hm.s.vmx.pvGuestMsr, &pVCpu->hm.s.vmx.HCPhysGuestMsr);
894 if (pVM->hm.s.vmx.Msrs.VmxProcCtls.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC_USE_MSR_BITMAPS)
895 hmR0VmxPageFree(&pVCpu->hm.s.vmx
[all...]
H A DHMVMXR0.h60 *pVal = pVCpu->hm.s.vmx.VMCSCache.Read.aFieldVal[idxCache];
H A DHMR0A.asm1125 ; Wrapper around vmx.pfnStartVM that preserves host XMM registers and
/vbox/src/VBox/VMM/VMMR3/
H A DHM.cpp389 rc = CFGMR3QueryBoolDef(pCfgHM, "EnableUX", &pVM->hm.s.vmx.fAllowUnrestricted, true);
400 rc = CFGMR3QueryBoolDef(pCfgHM, "EnableVPID", &pVM->hm.s.vmx.fAllowVpid, false);
446 rc = CFGMR3QueryBoolDef(pCfgHM, "UseVmxPreemptTimer", &pVM->hm.s.vmx.fUsePreemptTimer, true);
473 pVM->hm.s.vmx.fSupported = true;
516 Assert(!pVM->hm.s.vmx.fUnrestrictedGuest);
517 if (pVM->hm.s.vmx.fAllowUnrestricted)
521 pVM->hm.s.vmx.fUnrestrictedGuest = true;
523 pVM->hm.s.vmx.fAllowUnrestricted = false;
863 PVMCSCACHE pCache = &pVCpu->hm.s.vmx.VMCSCache;
928 if ( !pVM->hm.s.vmx
[all...]
/vbox/src/VBox/VMM/VMMAll/
H A DHMAll.cpp93 if (pVM->hm.s.vmx.fSupported)
303 && ( pVM->hm.s.vmx.fUnrestrictedGuest
334 if ( pVM->hm.s.vmx.fSupported
335 && (pVM->hm.s.vmx.Msrs.VmxProcCtls.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC_USE_MSR_BITMAPS))
356 Assert(pVM->hm.s.vmx.fSupported);
375 if (pVM->hm.s.vmx.fSupported)
/vbox/src/VBox/VMM/testcase/
H A DtstVMStructSize.cpp409 CHECK_MEMBER_ALIGNMENT(HM, vmx, 8);
410 CHECK_MEMBER_ALIGNMENT(HM, vmx.Msrs, 8);
414 CHECK_MEMBER_ALIGNMENT(HMCPU, vmx, 8);
415 CHECK_MEMBER_ALIGNMENT(HMCPU, vmx.pfnStartVM, 8);
416 CHECK_MEMBER_ALIGNMENT(HMCPU, vmx.HCPhysVmcs, 8);
417 CHECK_MEMBER_ALIGNMENT(HMCPU, vmx.LastError, 8);
/vbox/src/VBox/VMM/include/
H A DHMInternal.h428 } vmx; member in struct:HM
743 } vmx; member in struct:HMCPU
994 AssertCompileMemberAlignment(HMCPU, vmx, 8);
/vbox/include/VBox/vmm/
H A Dhm_vmx.h34 /* In Visual C++ versions prior to 2012, the vmx intrinsics are only available
51 /** @defgroup grp_vmx vmx Types and Definitions
62 #define HMVMXCPU_GST_SET_UPDATED(pVCpu, fFlag) (ASMAtomicUoOrU32(&(pVCpu)->hm.s.vmx.fUpdatedGuestState, (fFlag)))
70 #define HMVMXCPU_GST_IS_SET(pVCpu, fFlag) ((ASMAtomicUoReadU32(&(pVCpu)->hm.s.vmx.fUpdatedGuestState) & (fFlag)) == (fFlag))
79 #define HMVMXCPU_GST_IS_UPDATED(pVCpu, fFlags) RT_BOOL(ASMAtomicUoReadU32(&(pVCpu)->hm.s.vmx.fUpdatedGuestState) & (fFlags))
87 #define HMVMXCPU_GST_RESET_TO(pVCpu, fFlags) (ASMAtomicUoWriteU32(&(pVCpu)->hm.s.vmx.fUpdatedGuestState, (fFlags)))
94 #define HMVMXCPU_GST_VALUE(pVCpu) (ASMAtomicUoReadU32(&(pVCpu)->hm.s.vmx.fUpdatedGuestState))
1828 /** @defgroup grp_vmx_asm vmx assembly helpers
/vbox/src/VBox/HostDrivers/Support/darwin/
H A DSUPDrv-darwin.cpp77 # include <i386/vmx.h>
369 LogRel(("VBoxDrv: failed to resolve vmx stuff: vmx_resume=%Rrc vmx_suspend=%Rrc vmx_use_count=%Rrc", rc1, rc2, rc3));

Completed in 2547 milliseconds