* hvmloader problems?
@ 2011-05-19 16:32 henanwxr
2011-05-19 16:46 ` Keir Fraser
0 siblings, 1 reply; 3+ messages in thread
From: henanwxr @ 2011-05-19 16:32 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]
Hi all, I have some puzzle about hvmloader in the path /tools/firmware/, they are:
1: Is hvmloader running in non-root mode?
2: If hvmloader runs in non-root mode, does it have its pagetable? when set GUEST_CR3 in vmcs?
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.
Much Thanks!
- henanwxr
--
View this message in context: http://xen.1045712.n5.nabble.com/hvmloader-problems-tp4410213p4410213.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
[-- Attachment #1.2: Type: text/html, Size: 828 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hvmloader problems?
2011-05-19 16:32 hvmloader problems? henanwxr
@ 2011-05-19 16:46 ` Keir Fraser
0 siblings, 0 replies; 3+ messages in thread
From: Keir Fraser @ 2011-05-19 16:46 UTC (permalink / raw)
To: henanwxr, xen-devel
On 19/05/2011 17:32, "henanwxr" <henanwxr@163.com> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* hvmloader problems?
@ 2011-05-19 15:51 henanwxr
0 siblings, 0 replies; 3+ messages in thread
From: henanwxr @ 2011-05-19 15:51 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 376 bytes --]
Hi all, I have some puzzle about hvmloader in the path /tools/firmware/, they are:
1: Is hvmloader running in non-root mode?
2: If hvmloader runs in non-root mode, does it have its pagetable? when set GUEST_CR3 in vmcs?
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.
Much Thanks!
- henanwxr
[-- Attachment #1.2: Type: text/html, Size: 500 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-19 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 16:32 hvmloader problems? henanwxr
2011-05-19 16:46 ` Keir Fraser
-- strict thread matches above, loose matches on Subject: below --
2011-05-19 15:51 hvmloader problems? henanwxr
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.