Commit a90c1ed9 authored by Babu Moger's avatar Babu Moger Committed by Paolo Bonzini
Browse files

KVM: nSVM: Remove unused field



host_intercept_exceptions is not used anywhere. Clean it up.

Signed-off-by: default avatarBabu Moger <babu.moger@amd.com>
Reviewed-by: default avatarJim Mattson <jmattson@google.com>
Message-Id: <159985252277.11252.8819848322175521354.stgit@bmoger-ubuntu>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 8d22b90e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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;