Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C Ch Linux Perf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • Ch Linux Perf
  • Repository
Switch branch/tag
  • ch-linux-perf
  • arch
  • x86
  • kvm
  • vmx
  • vmx.c
Find file BlameHistoryPermalink
  • Yuan Yao's avatar
    KVM: X86: Use kvm_get_linear_rip() in single-step and #DB/#BP interception · e87e46d5
    Yuan Yao authored May 26, 2021
    
    
    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: default avatarYuan Yao <yuan.yao@intel.com>
    Message-Id: <20210526063828.1173-1-yuan.yao@linux.intel.com>
    Reviewed-by: default avatarSean Christopherson <seanjc@google.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    e87e46d5