From: tgh Subject: Question regarding vm creat&boot Date: Wed, 11 Jul 2007 17:37:10 +0800 Message-ID: <4694A4C6.2070105@ncic.ac.cn> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org hi I read the code about vmcreate,and I am confused about the function of setup_pgtables_x86_64(),which is called by xc_dom_boot_image(), does the setup_pgtables_x86_64() setup the kernel Pte for the guestos kernel ,that is, the guestos will run with it ,is it right? if it is ,why does it do this here and why does it not do this in the guestos? another one , does setup_pgtables_x86_64()setup the pte for all the mfn which is allocated for the VM,or not? I am really confused about it could you help me Thanks in advance