Re: [PATCH v3 4/9] KVM: x86: rename update_bp_intercept to update_exception_bitmap

From: Jim Mattson
Date: Fri Jul 10 2020 - 12:15:17 EST


On Fri, Jul 10, 2020 at 8:48 AM Mohammed Gamal <mgamal@xxxxxxxxxx> wrote:
>
> From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
>
> We would like to introduce a callback to update the #PF intercept
> when CPUID changes. Just reuse update_bp_intercept since VMX is
> already using update_exception_bitmap instead of a bespoke function.
>
> While at it, remove an unnecessary assignment in the SVM version,
> which is already done in the caller (kvm_arch_vcpu_ioctl_set_guest_debug)
> and has nothing to do with the exception bitmap.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>