VirtualBox

Ignore:
Timestamp:
Oct 21, 2019 6:19:39 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134142
Message:

Main/Machine+BIOSSettings+Console: Full implementation of NVRAM handling (part of VM delete, rename, clone and move code in combination with taking, deleting and restoring snapshots). Corresponding console update (ripping out old, never really used NVRAM handling).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImplMoveVM.h

    r81415 r81425  
    5858{
    5959    Guid                    snapshotUuid;
    60     Utf8Str                 strSaveStateFile;
     60    Utf8Str                 strFile;
    6161    ULONG                   uWeight;
    62 } SAVESTATETASKMOVE;
     62} SNAPFILETASKMOVE;
    6363
    6464struct fileList_t;
     
    6868    std::vector<ComObjPtr<Machine> >        machineList;
    6969    RTCList<MEDIUMTASKCHAINMOVE>            m_llMedias;
    70     RTCList<SAVESTATETASKMOVE>              m_llSaveStateFiles;
     70    RTCList<SNAPFILETASKMOVE>               m_llSaveStateFiles;
     71    RTCList<SNAPFILETASKMOVE>               m_llNVRAMFiles;
    7172    std::map<Utf8Str, MEDIUMTASKMOVE>       m_finalMediumsMap;
    72     std::map<Utf8Str, SAVESTATETASKMOVE>    m_finalSaveStateFilesMap;
     73    std::map<Utf8Str, SNAPFILETASKMOVE>     m_finalSaveStateFilesMap;
     74    std::map<Utf8Str, SNAPFILETASKMOVE>     m_finalNVRAMFilesMap;
    7375    std::map<VBoxFolder_t, Utf8Str>         m_vmFolders;
    7476
     
    116118    void updateProgressStats(MEDIUMTASKCHAINMOVE &mtc, ULONG &uCount, ULONG &uTotalWeight) const;
    117119    HRESULT addSaveState(const ComObjPtr<Machine> &machine);
     120    HRESULT addNVRAM(const ComObjPtr<Machine> &machine);
    118121    void printStateFile(settings::SnapshotsList &snl);
    119122    HRESULT getFilesList(const Utf8Str &strRootFolder, fileList_t &filesList);
     
    121124    HRESULT deleteFiles(const RTCList<Utf8Str> &listOfFiles);
    122125    void updatePathsToStateFiles(const Utf8Str &sourcePath, const Utf8Str &targetPath);
     126    void updatePathsToNVRAMFiles(const Utf8Str &sourcePath, const Utf8Str &targetPath);
    123127    HRESULT moveAllDisks(const std::map<Utf8Str, MEDIUMTASKMOVE> &listOfDisks, const Utf8Str &strTargetFolder = Utf8Str::Empty);
    124128    HRESULT restoreAllDisks(const std::map<Utf8Str, MEDIUMTASKMOVE> &listOfDisks);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette