Changeset 27172 in vbox
- Timestamp:
- Mar 8, 2010 3:55:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r27166 r27172 1709 1709 { 1710 1710 case HWVirtExPropertyType_Enabled: 1711 pb = &mHWData->mHWVirtExEnabled; 1711 setModified(IsModified_MachineData); 1712 mHWData.backup(); 1713 mHWData->mHWVirtExEnabled = !!aVal; 1712 1714 break; 1713 1715 1714 1716 case HWVirtExPropertyType_Exclusive: 1715 pb = &mHWData->mHWVirtExExclusive; 1717 setModified(IsModified_MachineData); 1718 mHWData.backup(); 1719 mHWData->mHWVirtExExclusive = !!aVal; 1716 1720 break; 1717 1721 1718 1722 case HWVirtExPropertyType_VPID: 1719 pb = &mHWData->mHWVirtExVPIDEnabled; 1723 setModified(IsModified_MachineData); 1724 mHWData.backup(); 1725 mHWData->mHWVirtExVPIDEnabled = !!aVal; 1720 1726 break; 1721 1727 1722 1728 case HWVirtExPropertyType_NestedPaging: 1723 pb = &mHWData->mHWVirtExNestedPagingEnabled; 1729 setModified(IsModified_MachineData); 1730 mHWData.backup(); 1731 mHWData->mHWVirtExNestedPagingEnabled = !!aVal; 1724 1732 break; 1725 1733 … … 1732 1740 } 1733 1741 1734 if (*pb != !!aVal)1735 {1736 setModified(IsModified_MachineData);1737 mHWData.backup();1738 *pb = !!aVal;1739 }1740 1742 return S_OK; 1741 1743 }
Note:
See TracChangeset
for help on using the changeset viewer.