|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: Writing VM Exit handlers in Xen
Thanks so much for your responses.
Yes, I am familiar with the Intel manuals and VT chapters in volume
3B. My question was where to look in the Xen or dom0 code to tweak
what VMExits are enabled in the VMCS of a particular HVM guest, so
that VTx actually traps on those conditions and gives me an
opportunity to handle them in a handler.
Do I modify VMCS structure directly in Xen somewhere, or are there
easier interfaces available for VMCS management?
Sorry, I should have phrased my question better earlier.
Thanks,
Jon
On 7/29/10, Dulloor <dulloor@xxxxxxxxx> wrote:
> You might also want to look at 21.6 (VM Execution controls) for the tunables
> and
> Appendix 1.
>
> -dulloor
>
> On Thu, Jul 29, 2010 at 6:16 AM, Patrick Colp <pjcolp@xxxxxxxxx> wrote:
>>>> 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?
>>
>> You can't define new VMExit conditions. For all the possible exit
>> conditions, look at Intel's "Intel 64 and IA-32 Architectures Software
>> Developer's Manual", Volume 3B. In the current (or near current)
>> edition, you want to look at chapter 24 - VM Exits.
>>
>>
>> Patrick
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
>
--
Sent from my mobile device
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|