From: Paolo Bonzini Date: Thu, 5 Mar 2015 10:54:46 +0000 (+0100) Subject: kvm: move advertising of KVM_CAP_IRQFD to common code X-Git-Tag: omap-for-v4.1/fixes-rc1~316^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc9be0fac70a2ad86e31a81372bb0bdfb6945353;p=pandora-kernel.git kvm: move advertising of KVM_CAP_IRQFD to common code POWER supports irqfds but forgot to advertise them. Some userspace does not check for the capability, but others check it---thus they work on x86 and s390 but not POWER. To avoid that other architectures in the future make the same mistake, let common code handle KVM_CAP_IRQFD the same way as KVM_CAP_IRQFD_RESAMPLE. Reported-and-tested-by: Greg Kurz Cc: stable@vger.kernel.org Fixes: 297e21053a52f060944e9f0de4c64fad9bcd72fc Signed-off-by: Paolo Bonzini Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed