|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Could some help to explain code under /xen/arch/x86/hvm
As the name suggests, it contains code related to hardware-assisted
virtualizaton (HVM). hvm/vmx/* have to do specifically with Intel's
HVM tecnology, and hvm/svm/* have to do with AMD's HVM technology.
Overall activities:
* Dealing with virtualizing privileged instructions (pagetables, CR3,
LDTs IDTs, traps, interrupts, &c)
* Serving as an interface to pagetable functionality, either using HAP
(hardware-assisted paging) or shadow pagetables
* Dealing with device IO: PIO and MMIO. Most of these are passed back
to qemu, but some are handled in the hypervisor.
* Implementing in-hypervisor devices
The instruction emulation routines are abstracted such that they can
be shared between shadow pagetable code and MMIO/PIO.
Hopefully that gives you an idea as you explore on your own. :-)
-George
On Fri, Feb 18, 2011 at 9:10 AM, tinnycloud <tinnycloud@xxxxxxxxxxx> wrote:
> Hi:
>
> I am trying to understand more Xen code.
>
> Regards to /xen/arch/x86/hvm, I would like to know what is the code
> for?
>
> What is it try to emulate, it looks like has relation with IO, what is
> the logic?
>
> Many thanks.
>
>
>
> _______________________________________________
> 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
|
|
|
|
|