]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: add kvm_leave_nested
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 3 Nov 2022 14:13:45 +0000 (16:13 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Nov 2022 16:39:56 +0000 (11:39 -0500)
commit09224aa4ce8be18b7a057748745846bcad24865a
treee725dfa86cd557adf6fdce934abcdbb7d7e31ff3
parent0413366fb3d94918e8f9c9838ccdad02503140a7
KVM: x86: add kvm_leave_nested

add kvm_leave_nested which wraps a call to nested_ops->leave_nested
into a function.

Cc: stable@vger.kernel.org
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20221103141351.50662-4-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/x86.c