From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP7Gt-00072v-6H for qemu-devel@nongnu.org; Wed, 03 Sep 2014 05:54:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XP7Gj-0007ek-QF for qemu-devel@nongnu.org; Wed, 03 Sep 2014 05:54:35 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:33667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XP7Gj-0007eg-KK for qemu-devel@nongnu.org; Wed, 03 Sep 2014 05:54:25 -0400 Received: by mail-we0-f169.google.com with SMTP id k48so8269155wev.14 for ; Wed, 03 Sep 2014 02:54:21 -0700 (PDT) From: Eric Auger Date: Wed, 3 Sep 2014 10:54:08 +0100 Message-Id: <1409738050-3810-1-git-send-email-eric.auger@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] actual checks of KVM_CAP_IRQFD and KVM_CAP_IRQFD_RESAMPLE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: eric.auger@st.com, christoffer.dall@linaro.org, qemu-devel@nongnu.org, a.rigo@virtualopensystems.com, agraf@suse.de, aik@ozlabs.ru, bsd@redhat.com, pbonzini@redhat.com, peter.maydell@linaro.org, mtosatti@redhat.com, borntraeger@de.ibm.com, cornelia.huck@de.ibm.com, rth@twiddle.net, thuth@linux.vnet.ibm.com, afaerber@suse.de, qemu-ppc@nongnu.org Cc: alex.williamson@redhat.com, patches@linaro.org, kvmarm@lists.cs.columbia.edu, eric.auger@linaro.org 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