diff options
author | Yuan Yao <[email protected]> | 2021-05-26 14:38:28 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-05-28 12:57:53 -0400 |
commit | e87e46d5f3182f82d997641d95db01a7feacef92 (patch) | |
tree | 0ec68c48d12117df758bc4c0545664a22ecc32a2 /drivers/usb/cdns3/cdns3-ti.c | |
parent | bedd9195df3dfea7165e7d6f7519a1568bc41936 (diff) |
KVM: X86: Use kvm_get_linear_rip() in single-step and #DB/#BP interception
The kvm_get_linear_rip() handles x86/long mode cases well and has
better readability, __kvm_set_rflags() also use the paired
function kvm_is_linear_rip() to check the vcpu->arch.singlestep_rip
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 <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions