summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-02-01 02:56:09 +0300
committerSean Christopherson <seanjc@google.com>2024-02-06 22:10:12 +0300
commitfdd58834d132046149699b88a27a0db26829f4fb (patch)
treeb4127b16e926c137e23f1a121b22f188602600c4 /tools/perf/scripts/python
parent0aa6b90ef9d75b4bd7b6d106d85f2a3437697f91 (diff)
downloadlinux-fdd58834d132046149699b88a27a0db26829f4fb.tar.xz
KVM: SVM: Return -EINVAL instead of -EBUSY on attempt to re-init SEV/SEV-ES
Return -EINVAL instead of -EBUSY if userspace attempts KVM_SEV{,ES}_INIT on a VM that already has SEV active. Returning -EBUSY is nonsencial as it's impossible to deactivate SEV without destroying the VM, i.e. the VM isn't "busy" in any sane sense of the word, and the odds of any userspace wanting exactly -EBUSY on a userspace bug are minuscule. Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Link: https://lore.kernel.org/r/20240131235609.4161407-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions