Changeset 92699 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Dec 2, 2021 12:38:32 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148598
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r92588 r92699 518 518 m_fDisablePatm = m_fDisableCsam = m_fExecuteAllInIem = true; 519 519 } 520 else if (!::strcmp(arg, "--driverless")) 521 enmOptType = OptType_VMRunner; 520 522 else if (!::strcmp(arg, "--warp-pct")) 521 523 { -
trunk/src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp
r92613 r92699 51 51 * Note! ASSUMES that argv is in an ASCII compatible codeset. 52 52 */ 53 unsigned cOptionsLeft = 3;53 unsigned cOptionsLeft = 4; 54 54 bool fStartVM = false; 55 55 bool fSeparateProcess = false; 56 56 bool fExecuteAllInIem = false; 57 bool fDriverless = false; 57 58 for (int i = 1; i < argc && cOptionsLeft > 0; ++i) 58 59 { … … 74 75 cOptionsLeft -= fExecuteAllInIem == false; 75 76 fExecuteAllInIem = true; 77 } 78 else if (!MyStrCmp(argv[i], "--driverless")) 79 { 80 cOptionsLeft -= fDriverless == false; 81 fDriverless = true; 76 82 } 77 83 } … … 95 101 fFlags |= SUPSECMAIN_FLAGS_DRIVERLESS_NEM_FALLBACK; 96 102 #endif 103 if (fDriverless) 104 fFlags |= SUPSECMAIN_FLAGS_DRIVERLESS; 97 105 } 98 106 -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r92613 r92699 286 286 " code patching and scanning\n" 287 287 " --execute-all-in-iem For debugging the interpreted execution mode.\n" 288 " --driverless Do not open the support driver (NEM or IEM mode).\n" 288 289 " --warp-pct <pct> time warp factor, 100%% (= 1.0) = normal speed\n" 289 290 " (*) For AMD-V/VT-x setups the effect is --recompile-all.\n" … … 660 661 uint32_t fFlags = 0; 661 662 # ifdef VBOX_RUNTIME_UI 662 unsigned cOptionsLeft = 3;663 unsigned cOptionsLeft = 4; 663 664 bool fStartVM = false; 664 665 bool fSeparateProcess = false; 665 666 bool fExecuteAllInIem = false; 667 bool fDriverless = false; 666 668 for (int i = 1; i < argc && cOptionsLeft > 0; ++i) 667 669 { … … 683 685 cOptionsLeft -= fExecuteAllInIem == false; 684 686 fExecuteAllInIem = true; 687 } 688 else if (!strcmp(argv[i], "--driverless")) 689 { 690 cOptionsLeft -= fDriverless == false; 691 fDriverless = true; 685 692 } 686 693 } … … 690 697 if (fExecuteAllInIem) 691 698 fFlags |= SUPR3INIT_F_DRIVERLESS_IEM_ALLOWED << RTR3INIT_FLAGS_SUPLIB_SHIFT; 699 if (fDriverless) 700 fFlags |= SUPR3INIT_F_DRIVERLESS << RTR3INIT_FLAGS_SUPLIB_SHIFT; 692 701 } 693 702 # endif
Note:
See TracChangeset
for help on using the changeset viewer.