Changeset 44028 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
- Timestamp:
- Dec 4, 2012 8:03:41 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r43023 r44028 770 770 { 771 771 ComPtr<IMedium> hardDisk; 772 rc = findOrOpenMedium(a, ValueUnion.psz, DeviceType_HardDisk, 773 AccessMode_ReadWrite, hardDisk, 774 false /* fForceNewUuidOnOpen */, NULL); 772 rc = openMedium(a, ValueUnion.psz, DeviceType_HardDisk, 773 AccessMode_ReadWrite, hardDisk, 774 false /* fForceNewUuidOnOpen */, 775 false /* fSilent */); 775 776 if (FAILED(rc)) 776 777 break; … … 855 856 { 856 857 ComPtr<IMedium> hardDisk; 857 rc = findOrOpenMedium(a, ValueUnion.psz, DeviceType_HardDisk, 858 AccessMode_ReadWrite, hardDisk, 859 false /* fForceNewUuidOnOpen */, NULL); 858 rc = openMedium(a, ValueUnion.psz, DeviceType_HardDisk, 859 AccessMode_ReadWrite, hardDisk, 860 false /* fForceNewUuidOnOpen */, 861 false /* fSilent */); 860 862 if (FAILED(rc)) 861 863 break; … … 983 985 else 984 986 { 985 rc = findOrOpenMedium(a, ValueUnion.psz, DeviceType_DVD, 986 AccessMode_ReadOnly, dvdMedium, 987 false /* fForceNewUuidOnOpen */, NULL); 987 rc = openMedium(a, ValueUnion.psz, DeviceType_DVD, 988 AccessMode_ReadOnly, dvdMedium, 989 false /* fForceNewUuidOnOpen */, 990 false /* fSilent */); 988 991 if (FAILED(rc)) 989 992 break; … … 1047 1050 else 1048 1051 { 1049 rc = findOrOpenMedium(a, ValueUnion.psz, DeviceType_Floppy, 1050 AccessMode_ReadWrite, floppyMedium, 1051 false /* fForceNewUuidOnOpen */, NULL); 1052 rc = openMedium(a, ValueUnion.psz, DeviceType_Floppy, 1053 AccessMode_ReadWrite, floppyMedium, 1054 false /* fForceNewUuidOnOpen */, 1055 false /* fSilent */); 1052 1056 if (FAILED(rc)) 1053 1057 break;
Note:
See TracChangeset
for help on using the changeset viewer.