]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Modify intercept_exceptions to generic intercepts
authorBabu Moger <babu.moger@amd.com>
Fri, 11 Sep 2020 19:28:20 +0000 (14:28 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:14 +0000 (07:57 -0400)
commit114a17ac6e591eb786fd9e3e722af3f4c011f586
treead858472943944e0891f3d33502217c9522eb8fd
parente4d1e3a23c41b4c68b78748258debf6368b64e14
KVM: SVM: Modify intercept_exceptions to generic intercepts

Modify intercept_exceptions to generic intercepts in vmcb_control_area. Use
the generic vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept to
set/clear/test the intercept_exceptions bits.

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