Changeset 23791 in vbox for trunk/src/VBox/Main
- Timestamp:
- Oct 15, 2009 1:03:09 AM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r23769 r23791 1879 1879 AutoWriteLock alock(this); 1880 1880 1881 /* Only allow it to be set to true when PoweredOff .1881 /* Only allow it to be set to true when PoweredOff or Aborted. 1882 1882 (Clearing it is always permitted.) */ 1883 1883 if ( aEnabled 1884 1884 && mData->mRegistered 1885 1885 && ( mType != IsSessionMachine 1886 || mData->mMachineState > MachineState_PoweredOff) 1886 || ( mData->mMachineState != MachineState_PoweredOff 1887 && mData->mMachineState != MachineState_Aborted) 1888 ) 1887 1889 ) 1888 1890 return setError(VBOX_E_INVALID_VM_STATE, -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r23762 r23791 4532 4532 When set to @a true, the virtual machine becomes a live migration 4533 4533 target. This can only set to @a true when the VM is in the @a 4534 PoweredOff state.4534 PoweredOff or @a Aborted state. 4535 4535 4536 4536 This property is automatically set to @a false when the VM is powered
Note:
See TracChangeset
for help on using the changeset viewer.