diff options
author | Adin Scannell <ascannell@google.com> | 2018-05-30 17:37:00 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-05-30 17:37:51 -0700 |
commit | 57edd0ee199150d7e25c3f072f3779a761ce6b7d (patch) | |
tree | 4b4013f8b1a844a3f7148f89539f869ecd0f561c /pkg/secio | |
parent | c59475599dbcc226e1ef516f40b581d6f2f3be75 (diff) |
Restore FS on resume.
Previously, the vCPU FS was always correct because it relied on the
reset coming out of the switch. When that doesn't occur, for example,
using bluepill directly, the FS value can be incorrect leading to
strange corruption.
This change is necessary for a subsequent change that enforces guest
mode for page table modifications, and it may reduce test flakiness.
(The problematic path may occur in tests, but does not occur in the
actual platform.)
PiperOrigin-RevId: 198648137
Change-Id: I513910a973dd8666c9a1d18cf78990964d6a644d
Diffstat (limited to 'pkg/secio')
0 files changed, 0 insertions, 0 deletions