OSDN Git Service

KVM: SVM: Remove set_cr_intercept, clr_cr_intercept and is_cr_intercept
authorBabu Moger <babu.moger@amd.com>
Fri, 11 Sep 2020 19:28:50 +0000 (14:28 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:15 +0000 (07:57 -0400)
commit830bd71f2c0684b530970d0aea792a12c0cbcdd2
treea78c1bbbe0e43afa3abcbf0bf4b0cdaea9bf5e72
parent4c44e8d6c19330e48a87103184f840ffe5a423cd
KVM: SVM: Remove set_cr_intercept, clr_cr_intercept and is_cr_intercept

Remove set_cr_intercept, clr_cr_intercept and is_cr_intercept. Instead
call generic svm_set_intercept, svm_clr_intercept an dsvm_is_intercep
tfor all cr intercepts.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Message-Id: <159985253016.11252.16945893859439811480.stgit@bmoger-ubuntu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h