Received: from eggs.gnu.org ([2001:4830:134:3::10]:46341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDE3t-0005WL-2N for qemu-devel@nongnu.org; Wed, 15 Jun 2016 12:53:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDE3o-0006GQ-06 for qemu-devel@nongnu.org; Wed, 15 Jun 2016 12:53:04 -0400 Date: Wed, 15 Jun 2016 10:52:55 -0600 From: Alex Williamson Message-ID: <20160615105255.0b2ddca4@t450s.home> In-Reply-To: <20160615050315.GC21472@voom.fritz.box> References: <1465964907-17637-1-git-send-email-gwshan@linux.vnet.ibm.com> <20160615044623.GB21472@voom.fritz.box> <20160615050315.GC21472@voom.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vfio: Fix broken EEH List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: Gavin Shan , qemu-ppc@nongnu.org, agraf@suse.de, aik@ozlabs.ru, qemu-devel On Wed, 15 Jun 2016 15:03:15 +1000 David Gibson wrote: > On Wed, Jun 15, 2016 at 02:46:23PM +1000, David Gibson wrote: > > On Wed, Jun 15, 2016 at 02:28:27PM +1000, Gavin Shan wrote: > > > vfio_eeh_container_op() is the backend that communicates with > > > host kernel to support EEH functionality in QEMU. However, the > > > functon should return the value from host kernel instead of 0 > > > unconditionally. > > > > > > Signed-off-by: Gavin Shan > > > > Applied to ppc-for-2.7, thanks. > > Hang on, wait.. forgot I should get an ack for this from you, Alex. > I'll keep it in my tree for now, unless you tell me you'd prefer to > take it through yours. Hmm, clearly this patch should have cc'd qemu-devel from the start. Go ahead and take it through your tree David. Acked-by: Alex Williamson > > > > > We should probably look at applying this to the 2.6 stable branch as well. > > > > > --- > > > hw/vfio/common.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/hw/vfio/common.c b/hw/vfio/common.c > > > index e51ed3a..e51db46 100644 > > > --- a/hw/vfio/common.c > > > +++ b/hw/vfio/common.c > > > @@ -1258,7 +1258,7 @@ static int vfio_eeh_container_op(VFIOContainer *container, uint32_t op) > > > return -errno; > > > } > > > > > > - return 0; > > > + return ret; > > > } > > > > > > static VFIOContainer *vfio_eeh_as_container(AddressSpace *as) > > > > >