lkml.org 
[lkml]   [2020]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 5/7] KVM: VMX: Optimize posted-interrupt delivery for timer fastpath
From
Date
On 28/04/20 08:23, Wanpeng Li wrote:
> - if (exit_fastpath == EXIT_FASTPATH_REENTER_GUEST &&
> - kvm_vcpu_exit_request(vcpu))
> - exit_fastpath = EXIT_FASTPATH_NOP;
> + if (exit_fastpath == EXIT_FASTPATH_REENTER_GUEST) {
> + if (!kvm_vcpu_exit_request(vcpu))
> + vmx_sync_pir_to_irr(vcpu);
> + else
> + exit_fastpath = EXIT_FASTPATH_NOP;
> + }

This part should be in patch 3; not a big deal, I can reorganize that
myself.

Paolo

\
 
 \ /
  Last update: 2020-04-30 15:33    [W:1.505 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site