Files
linux/arch/x86/kvm
Paolo Bonzini 9ab9ee7a87 kvm: move advertising of KVM_CAP_IRQFD to common code
[ Upstream commit dc9be0fac7 ]

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 <gkurz@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Fixes: 297e21053a
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-03-28 10:04:06 -04:00
..
2015-01-16 06:59:49 -08:00
2014-10-24 13:21:14 +02:00
2013-10-30 19:02:03 +01:00
2014-09-24 14:07:52 +02:00