diff options
author | 2024-12-17 18:14:52 +0000 | |
---|---|---|
committer | 2024-12-18 15:14:41 -0800 | |
commit | 11c98fa07a792c7667c9c0d4f3c7f2d620bfb7f0 (patch) | |
tree | a85d26fc9c109609cf636e93c7186abc789e978d /scripts/gdb/linux/utils.py | |
parent | KVM: x86: Use only local variables (no bitmask) to init kvm_cpu_caps (diff) | |
download | wireguard-linux-11c98fa07a792c7667c9c0d4f3c7f2d620bfb7f0.tar.xz wireguard-linux-11c98fa07a792c7667c9c0d4f3c7f2d620bfb7f0.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions