Re: [PATCH] kvm: move advertising of KVM_CAP_IRQFD to common code

From: Marcelo Tosatti
Date: Tue Mar 10 2015 - 20:19:47 EST


On Thu, Mar 05, 2015 at 11:54:46AM +0100, Paolo Bonzini wrote:
> 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-by: Greg Kurz <gkurz@xxxxxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 297e21053a52f060944e9f0de4c64fad9bcd72fc
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
> Marcelo, please apply this for 4.0.

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/