diff options
author | Ivan Orlov <iorlov@amazon.com> | 2024-12-17 21:14:52 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-12-19 02:14:41 +0300 |
commit | 11c98fa07a792c7667c9c0d4f3c7f2d620bfb7f0 (patch) | |
tree | a85d26fc9c109609cf636e93c7186abc789e978d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 871ac338ef553faf8c1c2f71dc4636b35d176ef4 (diff) | |
download | linux-11c98fa07a792c7667c9c0d4f3c7f2d620bfb7f0.tar.xz |
KVM: x86: Add function for vectoring error generation
Extract VMX code for unhandleable VM-Exit during vectoring into
vendor-agnostic function so that boiler-plate code can be shared by SVM.
To avoid unnecessarily complexity in the helper, unconditionally report a
GPA to userspace instead of having a conditional entry. For exits that
don't report a GPA, i.e. everything except EPT Misconfig, simply report
KVM's "invalid GPA".
Signed-off-by: Ivan Orlov <iorlov@amazon.com>
Link: https://lore.kernel.org/r/20241217181458.68690-2-iorlov@amazon.com
[sean: clarify that the INVALID_GPA logic is new]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions