From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aymlx-00082p-HN for qemu-devel@nongnu.org; Fri, 06 May 2016 16:54:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aymlc-00077W-O2 for qemu-devel@nongnu.org; Fri, 06 May 2016 16:54:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aymlc-000741-JT for qemu-devel@nongnu.org; Fri, 06 May 2016 16:54:32 -0400 From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Date: Fri, 6 May 2016 22:53:47 +0200 Message-Id: <1462568028-31037-4-git-send-email-rkrcmar@redhat.com> In-Reply-To: <1462568028-31037-1-git-send-email-rkrcmar@redhat.com> References: <1462568028-31037-1-git-send-email-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 3/4] linux_headers: add MSI_X2APIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Lan, Tianyu" , Igor Mammedov , Jan Kiszka , Peter Xu , Eduardo Habkost , Richard Henderson Signed-off-by: Radim Kr=C4=8Dm=C3=A1=C5=99 --- linux-headers/linux/kvm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 3bae71a8743e..3d9ca622bec9 100644 --- a/linux-headers/linux/kvm.h +++ b/linux-headers/linux/kvm.h @@ -865,6 +865,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_SPAPR_TCE_64 125 #define KVM_CAP_ARM_PMU_V3 126 #define KVM_CAP_VCPU_ATTRIBUTES 127 +#define KVM_CAP_MSI_X2APIC 128 =20 #ifdef KVM_CAP_IRQ_ROUTING =20 @@ -898,6 +899,7 @@ struct kvm_irq_routing_hv_sint { #define KVM_IRQ_ROUTING_MSI 2 #define KVM_IRQ_ROUTING_S390_ADAPTER 3 #define KVM_IRQ_ROUTING_HV_SINT 4 +#define KVM_IRQ_ROUTING_MSI_X2APIC 5 /* KVM_CAP_MSI_X2APIC */ =20 struct kvm_irq_routing_entry { __u32 gsi; @@ -1023,6 +1025,9 @@ struct kvm_one_reg { __u64 addr; }; =20 +#define KVM_SIGNAL_MSI_X2APIC (1 << 0) /* KVM_CAP_X2APIC */ +#define KVM_SIGNAL_MSI_FLAGS KVM_SIGNAL_MSI_X2APIC + struct kvm_msi { __u32 address_lo; __u32 address_hi; --=20 2.8.2