On Wed, May 26, 2021, Yuan Yao wrote: > From: Yuan Yao <yuan.yao@xxxxxxxxx> > > The kvm_get_linear_rip() handles x86/long mode cases well and has > better readability, __kvm_set_rflags() also use the paired > fucntion kvm_is_linear_rip() to check the vcpu->arch.singlestep_rip ^^^^^^^^ function Please run checkpatch before submitting in the future, it will catch some of these misspellings. > set in kvm_arch_vcpu_ioctl_set_guest_debug(), so change the > "CS.BASE + RIP" code in kvm_arch_vcpu_ioctl_set_guest_debug() and > handle_exception_nmi() to this one. > > Signed-off-by: Yuan Yao <yuan.yao@xxxxxxxxx> Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>