This patch serie replaces direct settings of kvm_irqfds_allowed
by actual checks of the KVM_CAP_IRQFD extension. Also A new
kvm_resamplefds_enabled() enables to check KVM_CAP_IRQFD_RESAMPLE.

in the second patch file the vfio device is 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