[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <792073cb-c1ea-2fd0-f05c-3f793a013ce2@redhat.com>
Date: Wed, 20 Apr 2022 17:01:38 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
"Maciej S . Szmigiero" <maciej.szmigiero@...cle.com>
Subject: Re: [PATCH 3/8] KVM: SVM: Unwind "speculative" RIP advancement if
INTn injection "fails"
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
Powered by blists - more mailing lists