Changeset 50290 in vbox
- Timestamp:
- Jan 30, 2014 3:58:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r50288 r50290 3663 3663 } 3664 3664 } 3665 if ( fSuccess && isMachineOffline())3665 if (controllerBus == KStorageBus_SATA) 3666 3666 { 3667 m_machine.SetHotPluggableForDevice(strControllerName, iAttachmentPort, iAttachmentDevice, fAttachmentHotPluggable); 3668 /* Check that machine is OK: */ 3669 fSuccess = m_machine.isOk(); 3667 if (fSuccess && isMachineOffline()) 3668 { 3669 m_machine.SetHotPluggableForDevice(strControllerName, iAttachmentPort, iAttachmentDevice, fAttachmentHotPluggable); 3670 /* Check that machine is OK: */ 3671 fSuccess = m_machine.isOk(); 3672 } 3670 3673 } 3671 3674 } … … 3749 3752 } 3750 3753 } 3751 if ( fSuccess && isMachineOffline())3754 if (controllerBus == KStorageBus_SATA) 3752 3755 { 3753 m_machine.SetHotPluggableForDevice(strControllerName, iAttachmentPort, iAttachmentDevice, fAttachmentHotPluggable); 3754 /* Check that machine is OK: */ 3755 fSuccess = m_machine.isOk(); 3756 if (fSuccess && isMachineOffline()) 3757 { 3758 m_machine.SetHotPluggableForDevice(strControllerName, iAttachmentPort, iAttachmentDevice, fAttachmentHotPluggable); 3759 /* Check that machine is OK: */ 3760 fSuccess = m_machine.isOk(); 3761 } 3756 3762 } 3757 3763 }
Note:
See TracChangeset
for help on using the changeset viewer.