-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ghcb: disable interrupts around VMGEXIT
Issuing a GHCB call via VMGEXIT requires setting and potentially reading the GHCB MSR. Since GHCB calls can be issued by interrupt routines, interrupts must be disabled during each set-exit-read sequence to prevent possible tearing due to preemption during such a sequence. Signed-off-by: Jon Lange <jlange@microsoft.com>
- Loading branch information
1 parent
d138a5c
commit 96e09e9
Showing
3 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters