|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Writing VM Exit handlers in Xen
It sounds like you've already got a basic understanding of how vmexits
work at a high level?
The main vmexit handling code is in
xen/arch/x86/hvm/vmx/vmx.c:vmx_vmexit_handler(). It already has code
to handle cpuid exits. So you'd just need to add code to the cpuid
handling function, possibly enable CPUID vmexits (if they're not
enabled already).
-George
On Thu, Jul 29, 2010 at 9:45 AM, Jonathan White <jonxwhite@xxxxxxxxx> wrote:
> Hi,
>
> I would like to start write some simple Intel-VT VMExit handlers in Xen -
> for e.g. when CPUID is executed, or some other VM Exit condition is
> satisfied.
> How can I define new VMExit conditions for a Intel-VT based HVM guest
> (WinXP) in Xen? and how can I write simple handlers for those conditions?
>
> What is a good place to start in the Xen (or Dom0?) code for the above
> requirements?
>
> Thanks a lot,
> Jon
>
>
> _______________________________________________
> 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
|
|
|
|
|