]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Explicitly pass an exception struct to check_intercept
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 18 Feb 2020 23:29:42 +0000 (15:29 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:57:50 +0000 (17:57 +0100)
commit2e76d82d3fd61d7628c9e9b15cb31a2ddf34d6d2
tree23a175ef0bf00600c09327184a1b7721d72fb47b
parent8980fc9a35385af40941d65afc835d2d3f69f9ad
KVM: x86: Explicitly pass an exception struct to check_intercept

Explicitly pass an exception struct when checking for intercept from
the emulator, which eliminates the last reference to arch.emulate_ctxt
in vendor specific code.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c