VirtualBox

Changeset 46584 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 17, 2013 12:17:36 PM (12 years ago)
Author:
vboxsync
Message:

Main/ConsoleImpl: allow to change the VRDE server state even if the VM is paused

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r46523 r46584  
    27192719    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    27202720
    2721     if (mMachineState != MachineState_Running) /** @todo Live Migration: ??? */
     2721    if (   mMachineState != MachineState_Running
     2722        && mMachineState != MachineState_Teleporting
     2723        && mMachineState != MachineState_LiveSnapshotting)
    27222724        return setInvalidMachineStateError();
    27232725
     
    50495051             || mMachineState == MachineState_Teleporting
    50505052             || mMachineState == MachineState_LiveSnapshotting
     5053             || mMachineState == MachineState_Paused
    50515054            )
    50525055       )
     
    50825085        }
    50835086    }
     5087    else
     5088        rc = setInvalidMachineStateError();
    50845089
    50855090    /* notify console callbacks on success */
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