KVM: Pass EventNotifier into kvm_irqchip_assign_irqfd
commitff66ba87ba1c43c10bc77138281bbdbd8bddaaba
authorPeter Xu <peterx@redhat.com>
Wed, 18 Mar 2020 14:52:02 +0000 (18 10:52 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:10:28 +0000 (10 12:10 -0400)
tree4fb581655a11b7ec6e13bb3d70e9081f88cf2681
parent97a3757616ca27840c7ce1d088d8f1d2e5753738
KVM: Pass EventNotifier into kvm_irqchip_assign_irqfd

So that kvm_irqchip_assign_irqfd() can have access to the
EventNotifiers, especially the resample event.  It is needed in follow
up patch to cache and kick resamplefds from QEMU.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20200318145204.74483-4-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c