diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-03-10 22:33:39 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-03-11 20:41:12 +0300 |
| commit | 6b1ca262a943a3307ee905faac0f4ff61ec3d656 (patch) | |
| tree | 88053da0a1598ddbed641e1ba5e6a41f76b4846b /include | |
| parent | 3e745694b032b405ff1ced74a8b3b95cdd00a385 (diff) | |
| download | linux-6b1ca262a943a3307ee905faac0f4ff61ec3d656.tar.xz | |
KVM: x86: clarify leave_smm() return value
The return value of vmx_leave_smm() is unrelated from that of
nested_vmx_enter_non_root_mode(). Check explicitly for success
(which happens to be 0) and return 1 just like everywhere
else in vmx_leave_smm().
Likewise, in svm_leave_smm() return 0/1 instead of the 0/1/-errno
returned by tenter_svm_guest_mode().
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
