]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Change intercept_cr to generic intercepts
authorBabu Moger <babu.moger@amd.com>
Fri, 11 Sep 2020 19:28:05 +0000 (14:28 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:13 +0000 (07:57 -0400)
commitb9f4853c2c358fc4b9bd1253f42ca1c72d37f611
treef98608f9c6646e16ecac123715464b5b8f856bdf
parent1b998301b5e0c0d89e09f95b5b65df64f2cf3e1c
KVM: SVM: Change intercept_cr to generic intercepts

Change intercept_cr to generic intercepts in vmcb_control_area.
Use the new vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept
where applicable.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Message-Id: <159985248506.11252.9081085950784508671.stgit@bmoger-ubuntu>
[Change constant names. - Paolo]
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