VirtualBox

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


Ignore:
Timestamp:
Sep 18, 2013 8:39:01 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89057
Message:

Change implementation for turning a reset into a power off to prevent the VM from executing while the power down thread is not running

File:
1 edited

Legend:

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

    r48406 r48528  
    615615    static DECLCALLBACK(int) configGuestProperties(void *pvConsole, PUVM pUVM);
    616616    static DECLCALLBACK(int) configGuestControl(void *pvConsole);
    617     void vmstateChangePowerOff(bool fCalledFromReset /* = false */);
    618617    static DECLCALLBACK(void) vmstateChangeCallback(PUVM pUVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser);
    619618    static DECLCALLBACK(int) unplugCpu(Console *pThis, PUVM pUVM, VMCPUID idCpu);
     
    682681    static DECLCALLBACK(void)   vmm2User_NotifyPdmtInit(PCVMM2USERMETHODS pThis, PUVM pUVM);
    683682    static DECLCALLBACK(void)   vmm2User_NotifyPdmtTerm(PCVMM2USERMETHODS pThis, PUVM pUVM);
     683    static DECLCALLBACK(void)   vmm2User_NotifyResetTurnedIntoPowerOff(PCVMM2USERMETHODS pThis, PUVM pUVM);
    684684
    685685    static DECLCALLBACK(void *) drvStatus_QueryInterface(PPDMIBASE pInterface, const char *pszIID);
     
    789789    /** true if a USB controller is available (i.e. USB devices can be attached). */
    790790    bool mfVMHasUsbController : 1;
     791    /** true if the VM power off was caused by reset. */
     792    bool mfPowerOffCausedByReset : 1;
    791793
    792794    /** 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