Changeset 58437 in vbox for trunk/src/VBox/Main/src-server/MachineImpl.cpp
- Timestamp:
- Oct 27, 2015 4:17:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r58420 r58437 1213 1213 } 1214 1214 } 1215 } 1216 1217 return S_OK; 1218 } 1219 1220 HRESULT Machine::getParavirtDebug(com::Utf8Str &aParavirtDebug) 1221 { 1222 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 1223 1224 aParavirtDebug = mHWData->mParavirtDebug; 1225 return S_OK; 1226 } 1227 1228 HRESULT Machine::setParavirtDebug(const com::Utf8Str &aParavirtDebug) 1229 { 1230 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1231 1232 HRESULT rc = i_checkStateDependency(MutableStateDep); 1233 if (FAILED(rc)) return rc; 1234 1235 /** @todo Parse/validate options? */ 1236 if (aParavirtDebug != mHWData->mParavirtDebug) 1237 { 1238 i_setModified(IsModified_MachineData); 1239 mHWData.backup(); 1240 mHWData->mParavirtDebug = aParavirtDebug; 1215 1241 } 1216 1242 … … 8913 8939 mHWData->mChipsetType = data.chipsetType; 8914 8940 mHWData->mParavirtProvider = data.paravirtProvider; 8941 mHWData->mParavirtDebug = data.strParavirtDebug; 8915 8942 mHWData->mEmulatedUSBCardReaderEnabled = data.fEmulatedUSBCardReader; 8916 8943 mHWData->mHPETEnabled = data.fHPETEnabled; … … 10195 10222 // paravirt 10196 10223 data.paravirtProvider = mHWData->mParavirtProvider; 10197 10198 10224 data.strParavirtDebug = mHWData->mParavirtDebug; 10225 10226 // emulated USB card reader 10199 10227 data.fEmulatedUSBCardReader = !!mHWData->mEmulatedUSBCardReaderEnabled; 10200 10228
Note:
See TracChangeset
for help on using the changeset viewer.