VirtualBox

Changeset 84576 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 27, 2020 5:18:25 PM (5 years ago)
Author:
vboxsync
Message:

Guest Control/VBoxManage: Made "controlvm [...] reboot|shutdown" commands conditional to VBOX_WITH_GUEST_CONTROL.

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

Legend:

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

    r84575 r84576  
    677677            CHECK_ERROR_BREAK(console, SleepButton());
    678678        }
     679#ifdef VBOX_WITH_GUEST_CONTROL
    679680        else if (   !strcmp(a->argv[1], "reboot")
    680681                 || !strcmp(a->argv[1], "shutdown")) /* With shutdown we mean gracefully powering off the VM by letting the guest OS do its thing. */
     
    698699            }
    699700        }
     701#endif
    700702        else if (!strcmp(a->argv[1], "keyboardputscancode"))
    701703        {
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r84575 r84576  
    833833                           "%s controlvm %s       <uuid|vmname>\n"
    834834                     "                            pause|resume|reset|poweroff|savestate|\n"
     835#ifdef VBOX_WITH_GUEST_CONTROL
    835836                     "                            reboot|shutdown|\n"
     837#endif
    836838                     "                            acpipowerbutton|acpisleepbutton|\n"
    837839                     "                            keyboardputscancode <hex> [<hex> ...]|\n"
Note: See TracChangeset for help on using the changeset viewer.

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