Changeset 81299 in vbox for trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
- Timestamp:
- Oct 16, 2019 7:32:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r81087 r81299 1750 1750 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/EfiDeviceProps", &deviceProps); 1751 1751 1752 /* Get NVRAM file name */ 1753 Bstr bstrNVRAM; 1754 hrc = biosSettings->COMGETTER(NonVolatileStorageFile)(bstrNVRAM.asOutParam()); H(); 1755 1752 1756 /* Get graphics mode settings */ 1753 1757 uint32_t u32GraphicsMode = UINT32_MAX; … … 1813 1817 InsertConfigBytes(pCfg, "UUID", &HardwareUuid,sizeof(HardwareUuid)); 1814 1818 InsertConfigInteger(pCfg, "64BitEntry", f64BitEntry); /* boolean */ 1819 InsertConfigString(pCfg, "NvramFile", bstrNVRAM); 1815 1820 if (u32GraphicsMode != UINT32_MAX) 1816 1821 InsertConfigInteger(pCfg, "GraphicsMode", u32GraphicsMode); … … 1831 1836 InsertConfigInteger(pCfg, "PermanentSave", 1); 1832 1837 #endif 1833 1834 BOOL fNVRAM = FALSE;1835 hrc = biosSettings->COMGETTER(NonVolatileStorageEnabled)(&fNVRAM); H();1836 if (fNVRAM)1837 {1838 hrc = biosSettings->COMGETTER(NonVolatileStorageFile)(bstr.asOutParam()); H();1839 1840 /*1841 * NVRAM device subtree.1842 */1843 InsertConfigNode(pDevices, "flash", &pDev);1844 InsertConfigNode(pDev, "0", &pInst);1845 InsertConfigNode(pInst, "Config", &pCfg);1846 InsertConfigString(pCfg, "FlashFile", bstr);1847 }1848 1838 } 1849 1839
Note:
See TracChangeset
for help on using the changeset viewer.