From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: Nested paging in nested SVM setup Date: Tue, 02 Sep 2014 13:48:47 +0200 Message-ID: <5405AE9F.2040202@redhat.com> References: <53A179C4.9060203@gmail.com> <53A18A6D.2050407@siemens.com> <53F44440.6070408@gmail.com> <5404A70E.20207@redhat.com> <54055F22.8070700@gmail.com> <540591AE.6030204@redhat.com> <540593B7.3060404@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Valentine Sinitsyn , Jan Kiszka , kvm@vger.kernel.org Return-path: Received: from mail-wg0-f50.google.com ([74.125.82.50]:35275 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753242AbaIBLsw (ORCPT ); Tue, 2 Sep 2014 07:48:52 -0400 Received: by mail-wg0-f50.google.com with SMTP id x12so6713506wgg.33 for ; Tue, 02 Sep 2014 04:48:50 -0700 (PDT) In-Reply-To: <540593B7.3060404@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 02/09/2014 11:53, Valentine Sinitsyn ha scritto: > > real_gpa = mmu->translate_gpa(vcpu, gfn_to_gpa(gfn), access); > if (real_gpa == UNMAPPED_GVA) > - return 0; > + goto error; > > walker->gfn = real_gpa >> PAGE_SHIFT; > > So they should look like regular page faults (as they ought to, I guess) > now. Yes, they do look like a regular page fault with this patch. However, they actually should look like nested page faults... I'm starting to clean up this stuff. Paolo