Understanding VmExit due to exception

Understanding VmExit due to exception

I discovered that the real question is: how can I determines if the exception was caused by VMM or by guest software itself?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi, I came across an updated version of the IA manual whichhas more details onVM topics across multiple chapters. Maybe theIA Manual"Chapter 30: Virtual-Machine Monitor Programming Considerations" can provide some additional hints for your question. You can try the links below to get to the manual (Release March 2012):

Hello Thai and thanks for your replyas a matter of fact my question was not a very interesting question.
I can discover who caused the exception watching who is running when the exception is raised. But what is the difference between the method suggested by Intel manual (discover who caused the exception and then inject or relfect it), and the switch-case for any other kind of exception as Xen does?with the first method (intel one) I've a kind ofif (GuestException) //Reflectelse if (VMMException) //Handle and resumein the second way I'veswitch (ExitReason)
case EXCEPTION_NMI: //blablablso where is the difference?Thanks, irp

Leave a Comment

Please sign in to add a comment. Not a member? Join today