diff options
| author | Sean Christopherson <[email protected]> | 2024-09-06 04:34:09 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-09-10 03:14:59 +0000 |
| commit | 8c23670f2b0004edb8f7135e314114f0c3452085 (patch) | |
| tree | 79992a37eb7a5170c3f339279aa13a245ac555e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | KVM: nVMX: Get to-be-acknowledge IRQ for nested VM-Exit at injection site (diff) | |
| download | kernel-8c23670f2b0004edb8f7135e314114f0c3452085.tar.gz kernel-8c23670f2b0004edb8f7135e314114f0c3452085.zip | |
KVM: nVMX: Suppress external interrupt VM-Exit injection if there's no IRQ
In the should-be-impossible scenario that kvm_cpu_get_interrupt() doesn't
return a valid vector after checking kvm_cpu_has_interrupt(), skip VM-Exit
injection to reduce the probability of crashing/confusing L1. Now that
KVM gets the IRQ _before_ calling nested_vmx_vmexit(), squashing the
VM-Exit injection is trivial since there are no actions that need to be
undone.
Reviewed-by: Chao Gao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
