From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH V2 0/2] kvm tools: PPC64 basic support Date: Wed, 14 Dec 2011 20:35:50 +1100 Message-ID: <1323855350.21839.3.camel@pasglop> References: <1323759627-12752-1-git-send-email-matt@ozlabs.org> <1323771792.3263.1.camel@lappy> <4EE7EEF8.9090804@ozlabs.org> <1323844555.3992.13.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Matt Evans , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, penberg@kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, Alexander Graf To: Sasha Levin Return-path: Received: from gate.crashing.org ([63.228.1.57]:57880 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754837Ab1LNJgl (ORCPT ); Wed, 14 Dec 2011 04:36:41 -0500 In-Reply-To: <1323844555.3992.13.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2011-12-14 at 08:35 +0200, Sasha Levin wrote: > > In that case, KVM_CAP_IOEVENTFD is simply not set, so we're better off > checking the cap dynamically instead of having it defined statically > in the makefile. > > I'll send a short patch that does that. Indeed, and in general, even if it was set, a failure of the ioctl could be handled gracefully by switching to not using it from the generic code without an arch override. Cheers, Ben.