KVM: x86: Update IRTE for posted-interrupts
authorFeng Wu <feng.wu@intel.com>
Fri, 18 Sep 2015 14:29:51 +0000 (22:29 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:51 +0000 (15:06 +0200)
commitefc644048ecde54f016011fe10110addd0de348f
tree023aac5d238cca6c283f25b6a1af1a08c717ffcb
parent6d7425f109d2629d1f4b4b146eca8e43701bf966
KVM: x86: Update IRTE for posted-interrupts

This patch adds the routine to update IRTE for posted-interrupts
when guest changes the interrupt configuration.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
[Squashed in automatically generated patch from the build robot
 "KVM: x86: vcpu_to_pi_desc() can be static" - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/trace.h
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c