From: tgh Subject: Re: code read problems Date: Fri, 29 Feb 2008 14:44:37 +0800 Message-ID: <47C7A9D5.7080502@sina.com.cn> References: <20080226095701.50167.qmail@dhost033.magnet.ch> <47C3F680.80102@sina.com.cn> <1204026247.10344.41.camel@thinkpad.localdomain> <47C52F58.1070008@sina.com.cn> <20080228185235.GA21515@ventoux.cs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080228185235.GA21515@ventoux.cs.ubc.ca> 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, stodden@cs.tum.edu, Brendan Cully List-Id: xen-devel@lists.xenproject.org hi I read checkpoint code when checkpoint or migration ends,guestos continues processing by returning back from hypercall of suspend, that is ,take_machine_down() call the post_suspend() to continue ,is it right? while in post_suspend(),pfn_to_mfn_frame_list_list[] is converted by virt_to_mfn(),why do this convert? i could not find where it has been converted,and why should it be converted back? and in the xc_domain_restore()in the dom0,pagetable has been uncanonicalized, which is coupled with canonicalization in xc_domain_save(),is it ? ,and what is the reasons for pfn_to_mfn_frame_list_list[] virt_to_mfn in post_suspend()? could you help me thanks