lkml.org 
[lkml]   [2022]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 3/8] KVM: SVM: Unwind "speculative" RIP advancement if INTn injection "fails"
From
On 4/2/22 03:08, Sean Christopherson wrote:
> * but re-execute the instruction instead. Rewind RIP first
> * if we emulated INT3 before.
> */
> - if (kvm_exception_is_soft(vector)) {
> - if (vector == BP_VECTOR && int3_injected &&
> - kvm_is_linear_rip(vcpu, svm->int3_rip))
> - kvm_rip_write(vcpu,
> - kvm_rip_read(vcpu) - int3_injected);
> + if (kvm_exception_is_soft(vector))
> break;
> - }

Stale comment.

Paolo

\
 
 \ /
  Last update: 2022-04-20 17:02    [W:0.432 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site