From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: hvmloader =?ISO-2022-JP?B?cHJvYmxlbXMbJEIhKRsoQg==?= Date: Thu, 19 May 2011 17:46:06 +0100 Message-ID: References: <70f3555b.11c52.1300919d56b.Coremail.henanwxr@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <70f3555b.11c52.1300919d56b.Coremail.henanwxr@163.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: henanwxr , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 19/05/2011 17:32, "henanwxr" wrote: > Hi all, I have some puzzle about hvmloader in the path /tools/firmware/, they > are: > 1: Is hvmloader running in non-root mode? Yes. > 2: If hvmloader runs in non-root mode, does it have its pagetable? when set > GUEST_CR3 in vmcs? It runs in 32-bit protected mode, but with paging disabled. Hence it never sets GUEST_CR3. > 3: How can I find the value of GUEST_RIP in vmcs is set to the entry point of > hvmloader,when virtual machine do it first vm entry. It doesn't get changed from its initial value of zero. Execution starts at 0x0 and immediately executes a JMP to the actual start address. The JMP is inserted by tools/libxc/xc_hvm_build.c (just search in there for JMP). -- Keir > Much Thanks! > > - henanwxr > > > > View this message in context: hvmloader problems? > > Sent from the Xen - Dev mailing list archive > at Nabble.com. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel