diff options
| author | Sean Christopherson <[email protected]> | 2025-04-04 19:38:20 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-04-24 13:52:31 +0000 |
| commit | 07172206a26dcf3f0bf7c3ecaadd4242b008ea54 (patch) | |
| tree | 2abce98b8e0041aaf09b46871c043ee5d9d3d30c /rust/helpers/workqueue.c | |
| parent | KVM: x86: Take irqfds.lock when adding/deleting IRQ bypass producer (diff) | |
| download | kernel-07172206a26dcf3f0bf7c3ecaadd4242b008ea54.tar.gz kernel-07172206a26dcf3f0bf7c3ecaadd4242b008ea54.zip | |
iommu/amd: Return an error if vCPU affinity is set for non-vCPU IRTE
Return -EINVAL instead of success if amd_ir_set_vcpu_affinity() is
invoked without use_vapic; lying to KVM about whether or not the IRTE was
configured to post IRQs is all kinds of bad.
Fixes: d98de49a53e4 ("iommu/amd: Enable vAPIC interrupt remapping mode by default")
Signed-off-by: Sean Christopherson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
