WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] hvmloader problems?

To: henanwxr <henanwxr@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] hvmloader problems?
From: Keir Fraser <keir@xxxxxxx>
Date: Thu, 19 May 2011 17:46:06 +0100
Cc:
Delivery-date: Thu, 19 May 2011 09:47:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=btTxvGVyrnxyBIE46gI0dI+PXJqFAVPXfrhahX9GyNE=; b=bnEYP0ZNisr8lEBof9ZAT3XbJestVbSjcjhMQEoYWyNB0hWoqDySIfkEhz/tFivv10 DJ58D5WgIzmNUt/SwgKtm0OTN8TpiSO0ME28lFuI3SpgoYVj+u2mKMYi5bNImt4OZ0uX S28+a1J735RrRjJr4bC06Ixyi9s7TsssDmSls=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=OqQe+AE9RjfpGlXq3Xbb1K/m+bxkpBrP8XtsJ4ByuhyTni4FE4COmmqcC6b1+b2J7Z lgPkEn/QlUPKvb5cb0jVYFzyLO+YPrUUuapb0V5kwV6WNbtGEWtpRJHtC5F0JNcT9Jes HsIpeg/6YErs7g0OFTdhPJ4jcxhpsGsiwdaCM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <70f3555b.11c52.1300919d56b.Coremail.henanwxr@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwWRD8m+hiylMnwqUOc3MyfWHoGcg==
Thread-topic: [Xen-devel] hvmloader problems?
User-agent: Microsoft-Entourage/12.29.0.110113
On 19/05/2011 17:32, "henanwxr" <henanwxr@xxxxxxx> 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?
> <http://xen.1045712.n5.nabble.com/hvmloader-problems-tp4410213p4410213.html>
> Sent from the Xen - Dev mailing list archive
> <http://xen.1045712.n5.nabble.com/Xen-Dev-f2473738.html>  at Nabble.com.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>