* Re: Question about EPT translation [not found] <BLU163-ds373A534D93901C3E0FB82DE780@phx.gbl> @ 2011-05-29 21:49 ` Daniel Castro 2011-05-30 10:22 ` Ian Campbell 2011-05-31 9:19 ` Ian Campbell 0 siblings, 2 replies; 3+ messages in thread From: Daniel Castro @ 2011-05-29 21:49 UTC (permalink / raw) To: henanwxr; +Cc: xen-devel Hello, Next time I will only replay through the list. CC the list 2011/5/29 henanwxr <henanwxr@hotmail.com>: > Hi Daniel, I have post my questions on xen-devel but nobody reply. So I turn > to you for help. > 1. Does hvmoader need EPT for address translation when it is running? If you are talking to pure HVM Guest then yes. > 2. I am sure the guest kernel need EPT when running, but not sure whether > hvmloader also needs. I think when virtual bios in hvmloader running, we > should make virtual bios sees as if the memory starting from 0, so hvmloader > needs EPT, am I right? Yes > 3. If hvmloader needs EPT, where we construct EPT structure for it? I can't > find correlative part in code flow. The address translation is not done by hvmloader, hvmloader is only used to deploy data to memory, the translation is done via Hypervisor aided by hardware. -- +-=====---------------------------+ | +---------------------------------+ | This space intentionally blank for notetaking. | | | Daniel Castro, | | | | Consultant/Programmer.| | | | U Andes | +-------------------------------------+ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Question about EPT translation 2011-05-29 21:49 ` Question about EPT translation Daniel Castro @ 2011-05-30 10:22 ` Ian Campbell 2011-05-31 9:19 ` Ian Campbell 1 sibling, 0 replies; 3+ messages in thread From: Ian Campbell @ 2011-05-30 10:22 UTC (permalink / raw) To: Daniel Castro; +Cc: henanwxr, xen-devel@lists.xensource.com On Sun, 2011-05-29 at 22:49 +0100, Daniel Castro wrote: > Hello, > Next time I will only replay through the list. CC the list > > 2011/5/29 henanwxr <henanwxr@hotmail.com>: > > Hi Daniel, I have post my questions on xen-devel but nobody reply. So I turn > > to you for help. I also received private mail from this poster with pretty much identical content. I replied privately at length on the inappropriateness of this sort of behaviour but just to be extra clear: henanwxr -- it is not ever appropriate to scatter-shot private mails to people when you do not get an immediate reply to a list posting. I recommend that people who receive such emails either ignore them or ask them to be reposted on the list before replying, so as not to encourage this way of thinking. Ian. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Question about EPT translation 2011-05-29 21:49 ` Question about EPT translation Daniel Castro 2011-05-30 10:22 ` Ian Campbell @ 2011-05-31 9:19 ` Ian Campbell 1 sibling, 0 replies; 3+ messages in thread From: Ian Campbell @ 2011-05-31 9:19 UTC (permalink / raw) To: Daniel Castro; +Cc: henanwxr, xen-devel@lists.xensource.com On Sun, 2011-05-29 at 22:49 +0100, Daniel Castro wrote: > 2011/5/29 henanwxr <henanwxr@hotmail.com>: > > 1. Does hvmoader need EPT for address translation when it is running? > If you are talking to pure HVM Guest then yes. It doesn't have to be EPT (which is the name of an Intel specific hardware technology). hvmloader needs some sort of page table translation, which might be HAP (the generic name for both Intel's EPT and AMD's nested paging) or shadow page tables depending on the hardware capabilities your system has. > > 2. I am sure the guest kernel need EPT when running, but not sure whether > > hvmloader also needs. I think when virtual bios in hvmloader running, we > > should make virtual bios sees as if the memory starting from 0, so hvmloader > > needs EPT, am I right? > Yes Again, correct modulo the above. hvmloader runs in the guest's context and hence needs everything the guest kernel will need. Actually in the case of hvmloader "needs" is rather a strong word, "runs in that environment by design" would perhaps be more accurate. > > 3. If hvmloader needs EPT, where we construct EPT structure for it? I can't > > find correlative part in code flow. > The address translation is not done by hvmloader, hvmloader is only > used to deploy data to memory, the translation is done via Hypervisor > aided by hardware. Ian. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-31 9:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <BLU163-ds373A534D93901C3E0FB82DE780@phx.gbl>
2011-05-29 21:49 ` Question about EPT translation Daniel Castro
2011-05-30 10:22 ` Ian Campbell
2011-05-31 9:19 ` Ian Campbell
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).