Changeset 98101 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 17, 2023 10:59:59 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r98100 r98101 3890 3890 aName.c_str()); 3891 3891 3892 /* Attaching a USB device when a VM is powered off should default to being marked as hot-pluggable */3893 if (!fHotplug && !Global::IsOnlineOrTransient(mData->mMachineState) && ctrlType == StorageControllerType_USB)3894 fHotplug = true;3895 3896 3892 // check that the port and device are not out of range 3897 3893 rc = ctl->i_checkPortAndDeviceValid(aControllerPort, aDevice); … … 4348 4344 false /* fNonRotational */, 4349 4345 false /* fDiscard */, 4350 fHotplug /* fHotPluggable */,4346 fHotplug || ctrlType == StorageControllerType_USB /* fHotPluggable */, 4351 4347 Utf8Str::Empty); 4352 4348 if (FAILED(rc)) return rc;
Note:
See TracChangeset
for help on using the changeset viewer.