From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: __direct_map() questions Date: Wed, 11 Jan 2012 17:13:33 -0200 Message-ID: <20120111191333.GB13298@amt.cnet> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Nick H Return-path: Received: from mx1.redhat.com ([209.132.183.28]:25999 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932901Ab2AKTXj (ORCPT ); Wed, 11 Jan 2012 14:23:39 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Hi, See Documentation/virtual/kvm/mmu.txt in the kernel source tree. On Tue, Jan 10, 2012 at 11:41:41AM -0800, Nick H wrote: > Hello All, >=20 > I am preparing for a presentation for my community college, newbie to > the kvm world. I am trying to understand kvm implementation. I am > interested in doing a small presentation=A0 on kvm and its internals = at > my school. I am looking at __direct_map() . I see > for_each_shadow_entry()->shadow_walk_xxx()=A0 (called in context of > handle_ept_violation() ) functions using the gfn to find the > iterator.sptep. It passes this iterator.sptep to the mmu_set_spte().