RE: [PATCH v3 04/11] KVM: SVM: Modify intercept_exceptions to generic intercepts

2020-07-29 Thread Babu Moger
; Molnar ; Borislav Petkov ; H . Peter Anvin > ; Thomas Gleixner > Subject: Re: [PATCH v3 04/11] KVM: SVM: Modify intercept_exceptions to > generic intercepts > > On Tue, Jul 28, 2020 at 4:38 PM Babu Moger wrote: > > > > Modify intercept_exceptions to generic intercepts

Re: [PATCH v3 04/11] KVM: SVM: Modify intercept_exceptions to generic intercepts

2020-07-29 Thread Jim Mattson
On Tue, Jul 28, 2020 at 4:38 PM Babu Moger wrote: > > Modify intercept_exceptions to generic intercepts in vmcb_control_area. > Use the generic __set_intercept, __clr_intercept and __is_intercept to > set the intercept_exceptions bits. > > Signed-off-by: Babu Moger > --- > @@ -52,6 +54,25 @@

[PATCH v3 04/11] KVM: SVM: Modify intercept_exceptions to generic intercepts

2020-07-28 Thread Babu Moger
Modify intercept_exceptions to generic intercepts in vmcb_control_area. Use the generic __set_intercept, __clr_intercept and __is_intercept to set the intercept_exceptions bits. Signed-off-by: Babu Moger --- arch/x86/include/asm/svm.h | 22 +- arch/x86/kvm/svm/nested.c |