Changeset 52770 in vbox for trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
- Timestamp:
- Sep 17, 2014 11:04:43 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r52717 r52770 1417 1417 : 0; 1418 1418 uint64_t fMask = 0; 1419 uint64_t fIgnoreMask = MSR_K6_EFER_LMA; 1419 1420 1420 1421 /* Filter out those bits the guest is allowed to change. (e.g. LMA is read-only) */ … … 1429 1430 1430 1431 /* #GP(0) If anything outside the allowed bits is set. */ 1431 if ( (uValue | fMask) != fMask)1432 if (uValue & ~(fIgnoreMask | fMask)) 1432 1433 { 1433 1434 Log(("CPUM: Settings disallowed EFER bit. uValue=%#RX64 fAllowed=%#RX64 -> #GP(0)\n", uValue, fMask));
Note:
See TracChangeset
for help on using the changeset viewer.