From mboxrd@z Thu Jan 1 00:00:00 1970 From: fanwenyi0529@gmail.com Subject: [PATCH 0/2] KVM: nVMX: Fix nested posted interrupts delivery Date: Fri, 28 Apr 2017 13:13:57 +0800 Message-ID: <1493356439-7293-1-git-send-email-fanwenyi0529@gmail.com> Cc: Wincy Van To: pbonzini@redhat.com, jmattson@google.com, kvm@vger.kernel.org Return-path: Received: from mail-pf0-f193.google.com ([209.85.192.193]:35262 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1163614AbdD1FOX (ORCPT ); Fri, 28 Apr 2017 01:14:23 -0400 Received: by mail-pf0-f193.google.com with SMTP id i4so2204220pfc.2 for ; Thu, 27 Apr 2017 22:14:23 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: From: Wincy Van The nested/non-nested PI vector is the same currently, this is wrong since the non-nested PI may not be recognized if dest vcpu is in L2. This patch series introduce a new vector for nested PI to solve the problem. Wincy Van (2): x86: irq: Define a global vector for nested posted interrupts KVM: nVMX: Fix posted intr delivery when vcpu is in guest mode arch/x86/entry/entry_64.S | 1 + arch/x86/include/asm/entry_arch.h | 2 ++ arch/x86/include/asm/hardirq.h | 1 + arch/x86/include/asm/hw_irq.h | 2 ++ arch/x86/include/asm/irq_vectors.h | 1 + arch/x86/kernel/irq.c | 13 +++++++++++++ arch/x86/kernel/irqinit.c | 2 ++ arch/x86/kvm/vmx.c | 22 +++++++++++----------- 8 files changed, 33 insertions(+), 11 deletions(-) -- 1.8.3.1