diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-21 17:13:28 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-22 07:23:28 -0700 |
| commit | 23a205797cec86f391d0be886b9bc741e1262063 (patch) | |
| tree | c7cb5627835c8793224eb060624aa61a48bd8046 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e6ecb88711d93b9e014532f17d3d29b57e80932c (diff) | |
KVM: Use goto to handle errors during memslot preparation
Use a goto to unwind early memslot changes if preparing for a memslot
operation fails. This will allow moving the creation of guest_memfd
bindings into kvm_set_memslot() without needing to copy+paste the unwind
logic.
No functional change intended.
Cc: stable@vger.kernel.org
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: Ackerley Tng <ackerleytng@google.com>
Link: https://patch.msgid.link/20260922001332.1121266-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
