From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm_mmu doubts Date: Mon, 30 Jun 2008 16:42:30 +0300 Message-ID: <4868E2C6.2040005@qumranet.com> References: <2452.10.9.1.37.1214831194.squirrel@www.cse.iitb.ac.in> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Sukanto Ghosh Return-path: Received: from il.qumranet.com ([212.179.150.194]:54806 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbYF3Nmc (ORCPT ); Mon, 30 Jun 2008 09:42:32 -0400 In-Reply-To: <2452.10.9.1.37.1214831194.squirrel@www.cse.iitb.ac.in> Sender: kvm-owner@vger.kernel.org List-ID: Sukanto Ghosh wrote: > What do these refer to ? > i) kvm_rmap_desc > It's a reverse mapping listing all shadow ptes pointing to a given guest page. > ii) rmap_pde > Same, for large guest pages. > iii) kvm_mmu_page-> spt ??? ( i thought kvm_mmu_page itself refers to page > of shadow PT, then what does spt points to ? ) > kvm_mmu_page contains information about the guest page table and the host shadow page table. spt is the host shadow page table. -- error compiling committee.c: too many arguments to function