diff options
author | Ladi Prosek <[email protected]> | 2017-06-21 09:07:00 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2017-06-27 16:35:25 +0200 |
commit | a12713c25b36cbbc1a3204b2a49a72f7bc8a8847 (patch) | |
tree | 51909a795319c8477cd7f83bf886536868eee827 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9b61174793f2aae1ef5ef843ef1cdbe52c2e36e8 (diff) |
KVM: SVM: don't NMI singlestep over event injection
Singlestepping is enabled by setting the TF flag and care must be
taken to not let the guest see (and reuse at an inconvenient time)
the modified rflag value. One such case is event injection, as part
of which flags are pushed on the stack and restored later on iret.
This commit disables singlestepping when we're about to inject an
event and forces an immediate exit for us to re-evaluate the NMI
related state.
Suggested-by: Paolo Bonzini <[email protected]>
Signed-off-by: Ladi Prosek <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions