- Timestamp:
- Jun 28, 2011 10:38:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r37606 r37656 3425 3425 if (fHotplug && !isControllerHotplugCapable(ctrlType)) 3426 3426 return setError(VBOX_E_INVALID_VM_STATE, 3427 tr("Invalid machine state: %s"), 3428 Global::stringifyMachineState(mData->mMachineState)); 3427 tr("Controller '%ls' does not support hotplugging"), 3428 aControllerName); 3429 3430 if (fHotplug && aType == DeviceType_DVD) 3431 return setError(VBOX_E_INVALID_VM_STATE, 3432 tr("Attaching a DVD drive while the VM is running is not supported")); 3429 3433 3430 3434 // check that the port and device are not out of range … … 3845 3849 if (fHotplug && !isControllerHotplugCapable(ctrlType)) 3846 3850 return setError(VBOX_E_INVALID_VM_STATE, 3847 tr("Invalid machine state: %s"), 3848 Global::stringifyMachineState(mData->mMachineState)); 3851 tr("Controller '%ls' does not support hotplugging"), 3852 aControllerName); 3853 3854 if (fHotplug && aType == DeviceType_DVD) 3855 return setError(VBOX_E_INVALID_VM_STATE, 3856 tr("Detaching a DVD drive while the VM is running is not supported")); 3849 3857 3850 3858 MediumAttachment *pAttach = findAttachment(mMediaData->mAttachments,
Note:
See TracChangeset
for help on using the changeset viewer.