OSDN Git Service

KVM: nSVM: Add helper to synthesize nested VM-Exit without collateral
authorSean Christopherson <seanjc@google.com>
Tue, 2 Mar 2021 17:45:15 +0000 (09:45 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:43:16 +0000 (04:43 -0400)
commit3a87c7e0d176ff73c9ef5d58d89ad65f3be31d1b
tree17c6d8f9bc530bf1ea9c17008981cffe96cf1878
parentcb6a32c2b8777ad31a02e585584d869251a790e3
KVM: nSVM: Add helper to synthesize nested VM-Exit without collateral

Add a helper to consolidate boilerplate for nested VM-Exits that don't
provide any data in exit_info_*.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210302174515.2812275-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h