diff options
| author | Gokul K <gokul02k@gmail.com> | 2026-08-11 10:30:29 +0530 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-11 09:35:46 -0700 |
| commit | ebb7027078965527d920360e7835a14eac6f835e (patch) | |
| tree | 1fb3f55b6bdde69ff05a19f736f79b28ea82b4d7 /tools/perf/scripts/python | |
| parent | 434c50e703c5aa24b0409a06f2ec1fc4040788b0 (diff) | |
KVM: selftests: Free the VM when NX hugepage disabling is denied
run_test() returns as soon as it has confirmed that disabling NX huge
pages fails with -EPERM, without freeing the VM created a few lines
earlier.
Jump to the kvm_vm_free() at the end of the function instead, matching
the pattern used for the SEV smoke test in the previous patch.
Fixes: b774da3f2e57 ("KVM: selftests: Test disabling NX hugepages on a VM")
Signed-off-by: Gokul K <gokul02k@gmail.com>
Link: https://patch.msgid.link/20260811050029.530698-3-gokul02k@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
