Changeset 47254 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jul 19, 2013 1:04:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r47247 r47254 5435 5435 * bird: This isn't quite as simple. VT-x and VBox(!) requires the DPL for SS to be the the same as CPL. In 64-bit mode it 5436 5436 * is possible (int/trap/xxx injects does this when switching rings) to load SS with a NULL selector and RPL=CPL. 5437 * The Attr.u = X86DESCATTR_UNUSABLE works fine as long as nobody uses ring-1 or ring-2. VT-x seems to setthe DPL5438 * correctly in the attributes even when the unusable bit is set, we need to preseve the DPL or we get invalid guest5439 * state trouble. Try bs2-cpu-hidden-regs-1.5437 * The Attr.u = X86DESCATTR_UNUSABLE works fine as long as nobody uses ring-1 or ring-2. VT-x updates the DPL 5438 * correctly in the attributes of SS even when the unusable bit is set, we need to preseve the DPL or we get invalid 5439 * guest state trouble. Try bs2-cpu-hidden-regs-1. 5440 5440 */ 5441 5441 if (pSelReg->Attr.u & X86DESCATTR_UNUSABLE)
Note:
See TracChangeset
for help on using the changeset viewer.