KVM: Add some helper functions for Posted-Interrupts
authorFeng Wu <feng.wu@intel.com>
Fri, 18 Sep 2015 14:29:46 +0000 (22:29 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:48 +0000 (15:06 +0200)
commitebbfc765369690cf8fc512615e6b83ec1702f8ac
tree3738211d2796bf656cff067f3e012a146206f558
parent6ef1522f7ecc063317dfb5ca63da6e47130a4c50
KVM: Add some helper functions for Posted-Interrupts

This patch adds some helper functions to manipulate the
Posted-Interrupts Descriptor.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
[Make the new functions inline. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c