]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
KVM: X86: Fix single-step with KVM_SET_GUEST_DEBUG
authorPeter Xu <peterx@redhat.com>
Tue, 5 May 2020 20:49:59 +0000 (16:49 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 May 2020 10:13:41 +0000 (06:13 -0400)
commitd5d260c5ffad0e0e4e59ae2772d4a906d3287e6a
tree24b831f275655904911e749c97701c98e89151a9
parent13196638d5de2564af90387930afa19cf27c1974
KVM: X86: Fix single-step with KVM_SET_GUEST_DEBUG

When single-step triggered with KVM_SET_GUEST_DEBUG, we should fill in the pc
value with current linear RIP rather than the cached singlestep address.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20200505205000.188252-3-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c