- Timestamp:
- Dec 14, 2023 3:17:27 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/snapshots/UISnapshotDetailsWidget.cpp
r101560 r102597 1712 1712 QStringList aReport; 1713 1713 /* Iterate through boot device types: */ 1714 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86); 1714 CPlatform comPlatform = comMachine.GetPlatform(); 1715 const KPlatformArchitecture enmArch = comPlatform.GetArchitecture(); 1716 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(enmArch); 1715 1717 for (ulong i = 1; i <= comProperties.GetMaxBootPosition(); ++i) 1716 1718 { … … 1958 1960 QStringList aReport; 1959 1961 /* Iterate through machine network adapters: */ 1960 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86);1961 1962 CPlatform comPlatform = comMachine.GetPlatform(); 1962 const ulong iCount = comProperties.GetMaxNetworkAdapters(comPlatform.GetChipsetType()); 1963 for (ulong iSlot = 0; iSlot < iCount; ++iSlot) 1963 const KPlatformArchitecture enmArch = comPlatform.GetArchitecture(); 1964 const KChipsetType enmChipsetType = comPlatform.GetChipsetType(); 1965 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(enmArch); 1966 const ulong cMaxNetworkAdapters = comProperties.GetMaxNetworkAdapters(enmChipsetType); 1967 for (ulong iSlot = 0; iSlot < cMaxNetworkAdapters; ++iSlot) 1964 1968 { 1965 1969 /* Get current network adapter: */ … … 2018 2022 QStringList aReport; 2019 2023 /* Iterate through machine serial ports: */ 2020 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86); 2021 const ulong iCount = comProperties.GetSerialPortCount(); 2022 for (ulong iSlot = 0; iSlot < iCount; ++iSlot) 2024 CPlatform comPlatform = comMachine.GetPlatform(); 2025 const KPlatformArchitecture enmArch = comPlatform.GetArchitecture(); 2026 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(enmArch); 2027 const ulong cMaxSerialPorts = comProperties.GetSerialPortCount(); 2028 for (ulong iSlot = 0; iSlot < cMaxSerialPorts; ++iSlot) 2023 2029 { 2024 2030 /* Get current serial port: */
Note:
See TracChangeset
for help on using the changeset viewer.

