VirtualBox

Ignore:
Timestamp:
Oct 7, 2021 11:17:43 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147340
Message:

doc/manual,FE/VBoxManage: Document the modifynvram sub-command of VBoxManage, bugref:9580

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

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

    r91432 r91617  
    167167    { "cloud",              USAGE_S_NEWCMD,         HELP_CMD_CLOUD, handleCloud,               0 },
    168168    { "updatecheck",        USAGE_S_NEWCMD,   HELP_CMD_UPDATECHECK, handleUpdateCheck,         0 },
    169     { "modifynvram",        USAGE_S_NEWCMD,         VBMG_CMD_TODO, handleModifyNvram,          0 },
     169    { "modifynvram",        USAGE_S_NEWCMD,   HELP_CMD_MODIFYNVRAM, handleModifyNvram,          0 },
    170170};
    171171
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyNvram.cpp

    r91491 r91617  
    315315
    316316    if (!strcmp(a->argv[1], "inituefivarstore"))
     317    {
     318        setCurrentSubcommand(HELP_SCOPE_MODIFYNVRAM_INITUEFIVARSTORE);
    317319        rc = handleModifyNvramInitUefiVarStore(a, nvramStore) == RTEXITCODE_SUCCESS ? S_OK : E_FAIL;
     320    }
    318321    else if (!strcmp(a->argv[1], "enrollmssignatures"))
     322    {
     323        setCurrentSubcommand(HELP_SCOPE_MODIFYNVRAM_ENROLLMSSIGNATURES);
    319324        rc = handleModifyNvramEnrollMsSignatures(a, nvramStore) == RTEXITCODE_SUCCESS ? S_OK : E_FAIL;
     325    }
    320326    else if (!strcmp(a->argv[1], "enrollpk"))
     327    {
     328        setCurrentSubcommand(HELP_SCOPE_MODIFYNVRAM_ENROLLPK);
    321329        rc = handleModifyNvramEnrollPlatformKey(a, nvramStore) == RTEXITCODE_SUCCESS ? S_OK : E_FAIL;
     330    }
    322331    else if (!strcmp(a->argv[1], "enrollorclpk"))
     332    {
     333        setCurrentSubcommand(HELP_SCOPE_MODIFYNVRAM_ENROLLORCLPK);
    323334        rc = handleModifyNvramEnrollOraclePlatformKey(a, nvramStore) == RTEXITCODE_SUCCESS ? S_OK : E_FAIL;
     335    }
    324336    else if (!strcmp(a->argv[1], "listvars"))
     337    {
     338        setCurrentSubcommand(HELP_SCOPE_MODIFYNVRAM_LISTVARS);
    325339        rc = handleModifyNvramListUefiVars(a, nvramStore) == RTEXITCODE_SUCCESS ? S_OK : E_FAIL;
     340    }
    326341    else if (!strcmp(a->argv[1], "queryvar"))
     342    {
     343        setCurrentSubcommand(HELP_SCOPE_MODIFYNVRAM_QUERYVAR);
    327344        rc = handleModifyNvramQueryUefiVar(a, nvramStore) == RTEXITCODE_SUCCESS ? S_OK : E_FAIL;
     345    }
    328346    else
    329347        return errorUnknownSubcommand(a->argv[0]);
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