]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Formalize blocking of nested pending exceptions
authorSean Christopherson <seanjc@google.com>
Tue, 30 Aug 2022 23:16:02 +0000 (23:16 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Sep 2022 16:03:08 +0000 (12:03 -0400)
commit6df9ee9c32990eda59a3043333c4b99418115f4d
treea0a866ce68b2da420ec9b9fe14a8b8b4ec5aaf27
parentbe8b662eb1b7dee57ec2ee4ee44ae656ae0034cb
KVM: x86: Formalize blocking of nested pending exceptions

Capture nested_run_pending as block_pending_exceptions so that the logic
of why exceptions are blocked only needs to be documented once instead of
at every place that employs the logic.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20220830231614.3580124-16-seanjc@google.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/vmx/nested.c