KVM: Add an arch specific hooks in 'struct kvm_kernel_irqfd'
authorFeng Wu <feng.wu@intel.com>
Fri, 18 Sep 2015 14:29:53 +0000 (22:29 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:47 +0000 (15:06 +0200)
commitf70c20aaf141adb715a2d750c55154073b02a9c3
tree47bca098ae2da44022af8b04f58d44089cd7ef80
parent9016cfb577a15abd6a7990890ccf6bf1edf04d31
KVM: Add an arch specific hooks in 'struct kvm_kernel_irqfd'

This patch adds an arch specific hooks 'arch_update' in
'struct kvm_kernel_irqfd'. On Intel side, it is used to
update the IRTE when VT-d posted-interrupts is used.

Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/eventfd.c