From: davidgg@hushmail.com Subject: [Question] KVM-MMU TDP & Paging structures Date: Wed, 05 Jan 2011 14:03:32 +0100 Message-ID: <20110105130332.4CF2B16593D@smtp.hushmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from smtp11.hushmail.com ([65.39.178.133]:43707 "EHLO smtp11.hushmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751925Ab1AENDd (ORCPT ); Wed, 5 Jan 2011 08:03:33 -0500 Received: from smtp11.hushmail.com (localhost.localdomain [127.0.0.1]) by smtp11.hushmail.com (Postfix) with SMTP id 8940B1CA751 for ; Wed, 5 Jan 2011 13:03:32 +0000 (UTC) Received: from smtp.hushmail.com (w5.hushmail.com [65.39.178.80]) by smtp11.hushmail.com (Postfix) with ESMTP for ; Wed, 5 Jan 2011 13:03:32 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: sorry for the subjectless first message 0:-) Hi all I'm a computer science student from germany interested in virtualization technologies and given I have some free time I'd like to dig into kvm modding, maybe even actual development ;-) I've been trying to understand the kvm mmu, with a special regard to paging structures. I'm having a hard time finding the code that is responsible for creating the tdp (epml4, epdpt, epd and ept on intel i.e.) structures, any hint(s)? Using some debug output I'm getting tdp_page_faul(s) where the paging level is 1, how can this be? does this mean all pages are 2MB pages and there are no page tables with 4 kbyte pages at all? thanks a lot in advance and kind regards, David