VirtualBox

Changeset 35171 in vbox for trunk/src


Ignore:
Timestamp:
Dec 16, 2010 10:53:50 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69010
Message:

Main/Console: log the file system of the snapshot folder as well

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r34794 r35171  
    336336    , mfSnapshotFolderSizeWarningShown(false)
    337337    , mfSnapshotFolderExt4WarningShown(false)
     338    , mfSnapshotFolderDiskTypeShown(false)
    338339    , mpVmm2UserMethods(NULL)
    339340    , m_pVMMDev(NULL)
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r34931 r35171  
    20652065                     */
    20662066                    static const char *s_pszUsbExtPackName = "Oracle VM VirtualBox Extension Pack";
     2067# ifdef VBOX_WITH_EXTPACK
    20672068                    if (pConsole->mptrExtPackManager->isExtPackUsable(s_pszUsbExtPackName))
     2069# endif
    20682070                    {
    20692071                        InsertConfigNode(pDevices, "usb-ehci", &pDev);
     
    20872089                        InsertConfigInteger(pCfg,  "Last",     0);
    20882090                    }
     2091# ifdef VBOX_WITH_EXTPACK
    20892092                    else
    20902093                    {
     
    21062109                                s_pszUsbExtPackName);
    21072110                    }
     2111# endif
    21082112                }
    21092113#endif
     
    27722776                 * still don't have a snapshot folder. */
    27732777                (void)RTFsQueryType(utfSnap.c_str(), &enmFsTypeSnap);
     2778                if (!mfSnapshotFolderDiskTypeShown)
     2779                {
     2780                    LogRel(("File system of '%s' (snapshots) is %s\n", utfSnap.c_str(), RTFsTypeName(enmFsTypeSnap)));
     2781                    mfSnapshotFolderDiskTypeShown = true;
     2782                }
    27742783                LogRel(("File system of '%s' is %s\n", utfFile.c_str(), RTFsTypeName(enmFsTypeFile)));
    27752784                LONG64 i64Size;
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r35157 r35171  
    653653    /** true if we already showed the snapshot folder ext4/xfs bug warning. */
    654654    bool mfSnapshotFolderExt4WarningShown : 1;
     655    /** true if we already listed the disk type of the snapshot folder. */
     656    bool mfSnapshotFolderDiskTypeShown : 1;
    655657
    656658    /** Pointer to the VMM -> User (that's us) callbacks.
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