Changeset 81239 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 14, 2019 7:11:33 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133933
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r81238 r81239 4678 4678 /* 4679 4679 * VMRUN function. 4680 * If the guest is in long mode, use the 64-bit guest handler, else the 32-bit guest handler. 4681 * The host is always 64-bit since we no longer support 32-bit hosts. 4680 4682 */ 4681 { 4682 /* If the guest is in long mode, use the 64-bit guest handler, else the 32-bit guest handler. 4683 * The host is always 64-bit since we no longer support 32-bit hosts. 4684 */ 4685 if (fGstInLongMode) 4686 { 4683 if (fGstInLongMode) 4684 { 4687 4685 #ifndef VBOX_WITH_64_BITS_GUESTS 4688 4686 return VERR_PGM_UNSUPPORTED_SHADOW_PAGING_MODE; 4689 4687 #else 4690 Assert(pVM->hm.s.fAllow64BitGuests);/* Guaranteed by hmR3InitFinalizeR0(). */4691 4688 Assert(pVM->hm.s.fAllow64BitGuests); /* Guaranteed by hmR3InitFinalizeR0(). */ 4689 pVmcsInfo->pfnStartVM = VMXR0StartVM64; 4692 4690 #endif 4693 } 4694 else 4695 pVmcsInfo->pfnStartVM = VMXR0StartVM32; 4696 } 4691 } 4692 else 4693 pVmcsInfo->pfnStartVM = VMXR0StartVM32; 4697 4694 4698 4695 /*
Note:
See TracChangeset
for help on using the changeset viewer.