From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v8 13/15] ARM: KVM: Handle guest faults in KVM Date: Mon, 18 Jun 2012 16:45:07 +0300 Message-ID: <4FDF30E3.5040506@redhat.com> References: <20120615190553.24590.18391.stgit@ubuntu> <20120615190908.24590.95861.stgit@ubuntu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: android-virt@lists.cs.columbia.edu, kvm@vger.kernel.org, Andrea Arcangeli To: Christoffer Dall Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43879 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751016Ab2FRNpQ (ORCPT ); Mon, 18 Jun 2012 09:45:16 -0400 In-Reply-To: <20120615190908.24590.95861.stgit@ubuntu> Sender: kvm-owner@vger.kernel.org List-ID: On 06/15/2012 10:09 PM, Christoffer Dall wrote: > From: Christoffer Dall > > Handles the guest faults in KVM by mapping in corresponding user pages > in the 2nd stage page tables. > > Introduces new ARM-specific kernel memory types, PAGE_KVM_GUEST and > pgprot_guest variables used to map 2nd stage memory for KVM guests. > > Leverages MMU notifiers on KVM/ARM by supporting the kvm_unmap_hva() operation, > where we remove the HVA from the 2nd stage translation. All other KVM MMU > notifierhooks are NOPs. I think you must at least support change_pte (possibly by unmapping). Andrea? -- error compiling committee.c: too many arguments to function