KVM: nSVM: Remove unused field
authorBabu Moger <babu.moger@amd.com>
Fri, 11 Sep 2020 19:28:42 +0000 (14:28 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:12 +0000 (07:57 -0400)
host_intercept_exceptions is not used anywhere. Clean it up.

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

index e73bdd44b24a8e60332d675f23b7860dc3da718c..c10a9a80022e848b3671f75708bee756a8473406 100644 (file)
@@ -108,8 +108,6 @@ void recalc_intercepts(struct vcpu_svm *svm)
        h = &svm->nested.hsave->control;
        g = &svm->nested.ctl;
 
-       svm->nested.host_intercept_exceptions = h->intercept_exceptions;
-
        c->intercept_cr = h->intercept_cr;
        c->intercept_dr = h->intercept_dr;
        c->intercept_exceptions = h->intercept_exceptions;
index ab913468f9cbe1e29066bd8775a7309d78c6548f..e3aca71b24abe80a9965d37c9da42e2fb1d559a7 100644 (file)
@@ -86,7 +86,6 @@ struct svm_nested_state {
        u64 hsave_msr;
        u64 vm_cr_msr;
        u64 vmcb12_gpa;
-       u32 host_intercept_exceptions;
 
        /* These are the merged vectors */
        u32 *msrpm;