Changeset 101461 in vbox for trunk/src/VBox/Main/src-client/ConsoleImplConfigX86.cpp
- Timestamp:
- Oct 17, 2023 8:37:28 AM (20 months ago)
- svn:sync-xref-src-repo-rev:
- 159530
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImplConfigX86.cpp
r101459 r101461 483 483 hrc = virtualBox->COMGETTER(SystemProperties)(systemProperties.asOutParam()); H(); 484 484 485 PlatformArchitecture_T platformArchHost; 486 hrc = host->COMGETTER(Architecture)(&platformArchHost); H(); 487 485 488 ComPtr<IFirmwareSettings> firmwareSettings; 486 489 hrc = pMachine->COMGETTER(FirmwareSettings)(firmwareSettings.asOutParam()); H(); … … 517 520 ComPtr<IPlatform> platform; 518 521 pMachine->COMGETTER(Platform)(platform.asOutParam()); H(); 522 523 #if 1 /* For now we only support running same-same architectures (e.g. x86 VMs on x86 hosts). */ 524 PlatformArchitecture_T platformArchMachine; 525 hrc = platform->COMGETTER(Architecture)(&platformArchMachine); H(); 526 if (platformArchMachine != platformArchHost) 527 return pVMM->pfnVMR3SetError(pUVM, VERR_PLATFORM_ARCH_NOT_SUPPORTED, RT_SRC_POS, 528 N_("VM platform architecture (%s) not supported on this host (%s)."), 529 Global::stringifyPlatformArchitecture(platformArchMachine), 530 Global::stringifyPlatformArchitecture(platformArchHost)); 531 #endif 519 532 520 533 ChipsetType_T chipsetType;
Note:
See TracChangeset
for help on using the changeset viewer.