VirtualBox

Ignore:
Timestamp:
Aug 27, 2010 7:08:38 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65273
Message:

Initial commit of Guest Additions runlevels; this replaces the additionsActive flag to get more detailed information of the current Guest Additions state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r31698 r32020  
    19331933            }
    19341934
    1935             BOOL guestFlag;
    1936             rc = guest->COMGETTER(AdditionsActive)(&guestFlag);
     1935            ULONG guestRunLevel;
     1936            rc = guest->COMGETTER(AdditionsRunLevel)(&guestRunLevel);
    19371937            if (SUCCEEDED(rc))
    19381938            {
    19391939                if (details == VMINFO_MACHINEREADABLE)
    1940                     RTPrintf("GuestAdditionsActive=%s\n", guestFlag ? "on" : "off");
     1940                    RTPrintf("GuestAdditionsRunLevel=%u\n", guestRunLevel);
    19411941                else
    1942                     RTPrintf("Additions active:                    %s\n", guestFlag ? "yes" : "no");
     1942                    RTPrintf("Additions run level:                 %u\n", guestRunLevel);
    19431943            }
    19441944
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