From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] kvm: move advertising of KVM_CAP_IRQFD to common code Date: Tue, 10 Mar 2015 21:19:13 -0300 Message-ID: <20150311001913.GA20876@amt.cnet> References: <1425552886-1848-1-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Greg Kurz , Paul Mackerras , stable@vger.kernel.org To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42629 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbbCKATb (ORCPT ); Tue, 10 Mar 2015 20:19:31 -0400 Content-Disposition: inline In-Reply-To: <1425552886-1848-1-git-send-email-pbonzini@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 > Cc: stable@vger.kernel.org > Fixes: 297e21053a52f060944e9f0de4c64fad9bcd72fc > Signed-off-by: Paolo Bonzini > --- > Marcelo, please apply this for 4.0. Applied, thanks.