This patch series replaces direct settings of kvm_irqfds_allowed
in architecture specific files by actual check of the KVM_CAP_IRQFD
extension in kvm-all.c.

Also A new kvm_resamplefds_enabled() enables to check
KVM_CAP_IRQFD_RESAMPLE. In the second patch file the vfio device
becomes the first user of kvm_resamplefds_enabled().

Eric Auger (2):
  KVM_CAP_IRQFD and KVM_CAP_IRQFD_RESAMPLE checks
  vfio: use kvm_resamplefds_enabled()

 hw/intc/openpic_kvm.c |  1 -
 hw/intc/xics_kvm.c    |  1 -
 hw/misc/vfio.c        |  5 ++---
 include/sysemu/kvm.h  | 10 ++++++++++
 kvm-all.c             |  7 +++++++
 target-i386/kvm.c     |  1 -
 target-s390x/kvm.c    |  1 -
 7 files changed, 19 insertions(+), 7 deletions(-)

-- 
1.8.3.2


Reply via email to