VirtualBox

Changeset 48054 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Aug 26, 2013 10:30:25 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88410
Message:

Main: Add new extradata setting VBoxInternal2/TurnResetIntoPowerOff to power off the VM when it is reset. Add guest property to reflect the last power off reason

File:
1 edited

Legend:

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

    r47342 r48054  
    618618    static DECLCALLBACK(int) configGuestProperties(void *pvConsole, PUVM pUVM);
    619619    static DECLCALLBACK(int) configGuestControl(void *pvConsole);
     620    void vmstateChangePowerOff(bool fCalledFromReset /* = false */);
    620621    static DECLCALLBACK(void) vmstateChangeCallback(PUVM pUVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser);
    621622    static DECLCALLBACK(int) unplugCpu(Console *pThis, PUVM pUVM, VMCPUID idCpu);
     
    724725    void guestPropertiesVRDPUpdateDisconnect(uint32_t u32ClientId);
    725726#endif
     727
     728    bool isResetTurnedIntoPowerOff(void);
    726729
    727730    /** @name Teleporter support
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