Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: Prevent interference by Intel perf counters
Make it simple but safe: Disable perf counters during setup and prevent that cells can modify the corresponding MSR. This avoids that we have to switch the MSR during vmentry/exit, but it also blocks perf & friends while Jailhouse is active. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
- Loading branch information
1 parent
a9cf035
commit 25226b5
Showing
2 changed files
with
14 additions
and
3 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