Re: [PATCH v4 2/7] KVM: X86: Enable fastpath when APICv is enabled

2020-05-04 Thread Paolo Bonzini
On 30/04/20 15:34, Vitaly Kuznetsov wrote: >> static enum exit_fastpath_completion vmx_exit_handlers_fastpath(struct >> kvm_vcpu *vcpu) >> { >> -if (!is_guest_mode(vcpu)) { >> +if (!is_guest_mode(vcpu) && vcpu->arch.apicv_active) { >> switch (to_vmx(vcpu)->exit_reason) { >>

Re: [PATCH v4 2/7] KVM: X86: Enable fastpath when APICv is enabled

2020-04-30 Thread Vitaly Kuznetsov
Wanpeng Li writes: > From: Wanpeng Li > > We can't observe benefit from single target IPI fastpath when APICv is > disabled, let's just enable IPI and Timer fastpath when APICv is enabled > for now. > > Tested-by: Haiwei Li > Cc: Haiwei Li > Signed-off-by: Wanpeng Li > --- > arch/x86/kvm/svm