From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkBQs-0001Ct-Ec for qemu-devel@nongnu.org; Wed, 05 Jun 2013 06:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkBQn-00012W-S4 for qemu-devel@nongnu.org; Wed, 05 Jun 2013 06:59:10 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:44155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkBQn-00011V-L2 for qemu-devel@nongnu.org; Wed, 05 Jun 2013 06:59:05 -0400 Received: by mail-pd0-f178.google.com with SMTP id w16so1637793pde.23 for ; Wed, 05 Jun 2013 03:59:04 -0700 (PDT) Message-ID: <51AF19F4.2090108@ozlabs.ru> Date: Wed, 05 Jun 2013 20:59:00 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1370348465-31652-1-git-send-email-aik@ozlabs.ru> <1370348465-31652-13-git-send-email-aik@ozlabs.ru> <20130605100220.GF19511@voom.bne.redhat.com> In-Reply-To: <20130605100220.GF19511@voom.bne.redhat.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 12/13] target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Paul Mackerras , Alexander Graf On 05.06.2013 20:02, David Gibson wrote: > On Tue, Jun 04, 2013 at 10:21:04PM +1000, Alexey Kardashevskiy wrote: >> From: David Gibson >> >> Recent PowerKVM allows the kernel to intercept some RTAS calls from the >> guest directly. This is used to implement the more efficient in-kernel >> XICS for example. qemu is still responsible for assigning the RTAS token >> numbers however, and needs to tell the kernel which RTAS function name is >> assigned to a given token value. This patch adds a convenience wrapper for >> the KVM_PPC_RTAS_DEFINE_TOKEN ioctl() which is used for this purpose. > > Um.. have you actually compiled this on ppc. AFAICT, the necessary > ioctl constant isn't yet imported into the mainline qemu tree. Agrh. Yes, it compiles but headers need an update I suppose. I use the ones from v3.10-rc2. I'll post headers update request tomorrow. -- With best regards Alexey Kardashevskiy -- icq: 52150396