Andrey Smetanin
2015-Oct-26 09:50 UTC
[PATCH 3/7] linux-headers/kvm: add Hyper-V SynIC irq routing type and struct
Signed-off-by: Andrey Smetanin <asmetanin at virtuozzo.com> Reviewed-by: Roman Kagan <rkagan at virtuozzo.com> Signed-off-by: Denis V. Lunev <den at openvz.org> CC: Vitaly Kuznetsov <vkuznets at redhat.com> CC: "K. Y. Srinivasan" <kys at microsoft.com> CC: Gleb Natapov <gleb at kernel.org> CC: Paolo Bonzini <pbonzini at redhat.com> CC: Roman Kagan <rkagan at virtuozzo.com> CC: Denis V. Lunev <den at openvz.org> CC: kvm at vger.kernel.org CC: virtualization at lists.linux-foundation.org --- linux-headers/linux/kvm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index dcc410e..0bff588 100644 --- a/linux-headers/linux/kvm.h +++ b/linux-headers/linux/kvm.h @@ -831,6 +831,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_GUEST_DEBUG_HW_WPS 120 #define KVM_CAP_SPLIT_IRQCHIP 121 #define KVM_CAP_IOEVENTFD_ANY_LENGTH 122 +#define KVM_CAP_HYPERV_SYNIC 123 #ifdef KVM_CAP_IRQ_ROUTING @@ -854,10 +855,16 @@ struct kvm_irq_routing_s390_adapter { __u32 adapter_id; }; +struct kvm_irq_routing_hv_sint { + __u32 vcpu; + __u32 sint; +}; + /* gsi routing entry types */ #define KVM_IRQ_ROUTING_IRQCHIP 1 #define KVM_IRQ_ROUTING_MSI 2 #define KVM_IRQ_ROUTING_S390_ADAPTER 3 +#define KVM_IRQ_ROUTING_HV_SINT 4 struct kvm_irq_routing_entry { __u32 gsi; @@ -868,6 +875,7 @@ struct kvm_irq_routing_entry { struct kvm_irq_routing_irqchip irqchip; struct kvm_irq_routing_msi msi; struct kvm_irq_routing_s390_adapter adapter; + struct kvm_irq_routing_hv_sint hv_sint; __u32 pad[8]; } u; }; -- 2.4.3
Denis V. Lunev
2015-Oct-26 10:12 UTC
[Qemu-devel] [PATCH 3/7] linux-headers/kvm: add Hyper-V SynIC irq routing type and struct
On 10/26/2015 01:03 PM, Peter Maydell wrote:> On 26 October 2015 at 09:50, Andrey Smetanin <asmetanin at virtuozzo.com> wrote: >> Signed-off-by: Andrey Smetanin <asmetanin at virtuozzo.com> >> Reviewed-by: Roman Kagan <rkagan at virtuozzo.com> >> Signed-off-by: Denis V. Lunev <den at openvz.org> >> CC: Vitaly Kuznetsov <vkuznets at redhat.com> >> CC: "K. Y. Srinivasan" <kys at microsoft.com> >> CC: Gleb Natapov <gleb at kernel.org> >> CC: Paolo Bonzini <pbonzini at redhat.com> >> CC: Roman Kagan <rkagan at virtuozzo.com> >> CC: Denis V. Lunev <den at openvz.org> >> CC: kvm at vger.kernel.org >> CC: virtualization at lists.linux-foundation.org >> >> --- >> linux-headers/linux/kvm.h | 8 ++++++++ >> 1 file changed, 8 insertions(+) > Hi. Changes to linux-headers/ should only be made as part of > an automated update from a mainline Linux kernel tree using > the scripts/update-linux-headers.sh script. This patch looks > like maybe it was a manual edit ? > > thanks > -- PMMyep. We know and have discussed this with Paolo already. Kernel stuff is in progress at the moment. The patch is presented to interested people to allow to compile and run. Actual merge will be performed with proper sync when kernel will be in rc3 or 4 stage and the patch will be dropped. The same applies for patch 5. Den
Maybe Matching Threads
- [Qemu-devel] [PATCH 3/7] linux-headers/kvm: add Hyper-V SynIC irq routing type and struct
- [PATCH 3/7] linux-headers/kvm: add Hyper-V SynIC irq routing type and struct
- [Qemu-devel] [PATCH 3/7] linux-headers/kvm: add Hyper-V SynIC irq routing type and struct
- [kvm-unit-tests PATCH] x86: hyperv_synic: Hyper-V SynIC test
- [kvm-unit-tests PATCH] x86: hyperv_synic: Hyper-V SynIC test