Received: from eggs.gnu.org ([2001:4830:134:3::10]:46198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpPjA-0002Po-Pz for qemu-devel@nongnu.org; Wed, 19 Jun 2013 17:15:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpPj9-00019s-Jg for qemu-devel@nongnu.org; Wed, 19 Jun 2013 17:15:40 -0400 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <1371674435-14973-8-git-send-email-aliguori@us.ibm.com> Date: Wed, 19 Jun 2013 23:15:37 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <1371674435-14973-1-git-send-email-aliguori@us.ibm.com> <1371674435-14973-8-git-send-email-aliguori@us.ibm.com> Subject: Re: [Qemu-devel] [PATCH 07/12] spapr-rtas: add CPU argument to RTAS calls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Paul Mackerras , qemu-devel@nongnu.org, Andreas Faerber On 19.06.2013, at 22:40, Anthony Liguori wrote: > RTAS is a hypervisor provided binary blob that a guest loads and > calls into to execute certain functions. It's similar to the > vsyscall page in Linux or the short lived VMCI paravirt interface > from VMware. > > The QEMU implementation of the RTAS blob is simply a passthrough > that proxies all RTAS calls to the hypervisor via an hypercall. > > While we pass a CPU argument for hypercall handling in QEMU, we > don't pass it for RTAS calls. Since some RTAs calls require > making hypercalls (normally RTAS is implemented as guest code) we > have nasty hacks to allow that. > > Add a CPU argument to RTAS call handling so we can more easily > invoke hypercalls just as guest code would. > > Signed-off-by: Anthony Liguori Thanks, applied to ppc-next. Alex