Changeset 105455 in vbox
- Timestamp:
- Jul 23, 2024 7:02:30 PM (6 months ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r105352 r105455 565 565 { 566 566 case PlatformArchitecture_x86: 567 #ifdef VBOX_WITH_VIRT_ARMV8 568 { 569 ComPtr<IVirtualBox> pVirtualBox; 570 hrc = mMachine->COMGETTER(Parent)(pVirtualBox.asOutParam()); 571 if (SUCCEEDED(hrc)) 572 { 573 Bstr bstrEnableX86OnArm; 574 hrc = pVirtualBox->GetExtraData(Bstr("VBoxInternal2/EnableX86OnArm").raw(), bstrEnableX86OnArm.asOutParam()); 575 if (FAILED(hrc) || !bstrEnableX86OnArm.equals("1")) 576 { 577 hrc = VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED; 578 break; 579 } 580 } 581 } 582 #endif 567 583 pszVMM = "VBoxVMM"; 568 584 break; -
trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
r104753 r105455 1063 1063 }; 1064 1064 MY_VECTOR_ASSIGN_ARRAY(aSupportedPlatformArchitectures, s_aPlatformArchitectures); 1065 1066 #ifdef VBOX_WITH_VIRT_ARMV8 1067 Bstr bstrEnableX86OnArm; 1068 HRESULT hrc =mParent->GetExtraData(Bstr("VBoxInternal2/EnableX86OnArm").raw(), bstrEnableX86OnArm.asOutParam()); 1069 if (FAILED(hrc) || !bstrEnableX86OnArm.equals("1")) 1070 { 1071 Assert(aSupportedPlatformArchitectures[0] == PlatformArchitecture_x86); 1072 if (aSupportedPlatformArchitectures[0] == PlatformArchitecture_x86) 1073 aSupportedPlatformArchitectures.erase(aSupportedPlatformArchitectures.begin()); 1074 } 1075 #endif 1065 1076 return S_OK; 1066 1077 }
Note:
See TracChangeset
for help on using the changeset viewer.