diff options
author | Liran Alon <[email protected]> | 2018-03-23 03:01:32 +0300 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2018-03-28 22:47:06 +0200 |
commit | a042c26fd8e7c475636f967957e7130595478829 (patch) | |
tree | b5da7443bf2caefe3bc5be76fd5cdcb1e113217f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 04140b4144cd888c080cddbb2be2ec603f00d081 (diff) |
KVM: x86: Fix misleading comments on handling pending exceptions
The reason that exception.pending should block re-injection of
NMI/interrupt is not described correctly in comment in code.
Instead, it describes why a pending exception should be injected
before a pending NMI/interrupt.
Therefore, move currently present comment to code-block evaluating
a new pending event which explains why exception.pending is evaluated
first.
In addition, create a new comment describing that exception.pending
blocks re-injection of NMI/interrupt because the exception was
queued by handling vmexit which was due to NMI/interrupt delivery.
Signed-off-by: Liran Alon <[email protected]>
Reviewed-by: Nikita Leshenko <[email protected]>
Signed-off-by: Krish Sadhukhan <[email protected]>
[Used a comment from Sean J <[email protected]>. - Radim]
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions