Changeset 24780 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Nov 19, 2009 10:14:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r24678 r24780 185 185 } 186 186 187 if ( fRunTime 188 && ( !RTStrICmp(pszMedium, "none") 189 || !RTStrICmp(pszType, "hdd"))) 190 { 191 errorArgument("DVD/HardDisk Drives can't be changed while the VM is still running\n"); 187 if (fRunTime && !RTStrICmp(pszType, "hdd")) 188 { 189 errorArgument("Hard disk drives cannot be changed while the VM is running\n"); 192 190 goto leave; 193 191 } 194 192 193 if (fRunTime && !RTStrICmp(pszMedium, "none")) 194 { 195 errorArgument("Drives cannot be removed while the VM is running\n"); 196 goto leave; 197 } 198 195 199 if (fRunTime && pszPassThrough) 196 200 { 197 errorArgument("Drive passthrough state can't be changed while the VM is stillrunning\n");201 errorArgument("Drive passthrough state can't be changed while the VM is running\n"); 198 202 goto leave; 199 203 }
Note:
See TracChangeset
for help on using the changeset viewer.