Re: [PATCH v2] KVM: SVM: Disable AVIC before setting V_IRQ

2020-05-10 Thread Maxim Levitsky
On Thu, 2020-05-07 at 10:27 +0200, Paolo Bonzini wrote: > On 07/05/20 04:35, Suravee Suthikulpanit wrote: > > The commit 64b5bd270426 ("KVM: nSVM: ignore L1 interrupt window > > while running L2 with V_INTR_MASKING=1") introduced a WARN_ON, > > which checks if AVIC is enabled when trying to set V_I

Re: [PATCH v2] KVM: SVM: Disable AVIC before setting V_IRQ

2020-05-08 Thread kbuild test robot
Hi Suravee, I love your patch! Yet something to improve: [auto build test ERROR on kvm/linux-next] [also build test ERROR on vhost/linux-next linus/master v5.7-rc4 next-20200507] [cannot apply to linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve

Re: [PATCH v2] KVM: SVM: Disable AVIC before setting V_IRQ

2020-05-07 Thread kbuild test robot
Hi Suravee, I love your patch! Yet something to improve: [auto build test ERROR on kvm/linux-next] [also build test ERROR on vhost/linux-next linus/master v5.7-rc4 next-20200507] [cannot apply to linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve

Re: [PATCH v2] KVM: SVM: Disable AVIC before setting V_IRQ

2020-05-07 Thread Paolo Bonzini
On 07/05/20 04:35, Suravee Suthikulpanit wrote: > The commit 64b5bd270426 ("KVM: nSVM: ignore L1 interrupt window > while running L2 with V_INTR_MASKING=1") introduced a WARN_ON, > which checks if AVIC is enabled when trying to set V_IRQ > in the VMCB for enabling irq window. > > The following war

[PATCH v2] KVM: SVM: Disable AVIC before setting V_IRQ

2020-05-06 Thread Suravee Suthikulpanit
The commit 64b5bd270426 ("KVM: nSVM: ignore L1 interrupt window while running L2 with V_INTR_MASKING=1") introduced a WARN_ON, which checks if AVIC is enabled when trying to set V_IRQ in the VMCB for enabling irq window. The following warning is triggered because the requesting vcpu (to deactivate