Page 1 of 1

AMD-V EPT Intel VTX SVM tutorials

Posted: Mon Jun 10, 2013 4:51 am
by lopidas
Where can I find some with full examples and instruction parameters?

Disclaimer: Yes, I tried to search it.

Re: AMD-V EPT Intel VTX SVM tutorials

Posted: Mon Jun 10, 2013 5:08 am
by Combuster
You didn't read enough, apparently. Beginner_Mistakes maybe?

Re: AMD-V EPT Intel VTX SVM tutorials

Posted: Mon Jun 10, 2013 3:19 pm
by Nable
to lopidas
You can read Intel/AMD cpu docs and instruction set reference manuals (note: AMD docs are much better written). If you are looking for examples, you can read source code of:
+ KVM - tenths of thousands lines, very hard to start understanding this but it seems that small important details can be found only here
+ Palacios - pile of ####, to be honest; it was written for study/research purpose but it's also a good side: it's rather easy to start studying those source files
+ http://xhypervisor.org/ - it's description seems to be good but I didn't test this soft myself
+ http://www.codeproject.com/Articles/215 ... rogrammers - really simple tutorial for beginners (I mean "for beginners in VT", you still should be an advanced osdever to start this things), I like it very much.
+ http://code.google.com/p/vmxos/ - google suggested me this thing and it seems to be nice but i didn't test it myself.

But, please, study manuals carefully before trying to do smth, especially before asking questions. Good luck.

Re: AMD-V EPT Intel VTX SVM tutorials

Posted: Tue Jun 11, 2013 3:15 am
by feryno
Hi, I believe that lopidas tried to search it.

I suggest to start from official manuals. Then look into tutorials/projects. Manuals are pain because are huge (especially Intel).

Required manual for Intel is hidden here:
http://download.intel.com/products/proc ... 326019.pdf
All CPU manuals here:
http://www.intel.com/content/www/us/en/ ... nuals.html

Required manual for AMD is hidden here:
http://support.amd.com/us/Processor_Tec ... APM_v2.pdf
All CPU manuals here:
http://support.amd.com/us/psearch/Pages ... =&items=20

Maybe the first (spring 2007) publicly available tutorials with source codes here:
http://www.cs.usfca.edu/~cruse/cs686s07/
lesson20, lesson21

I know about 1 project not yet mentioned in this thread - which is not too huge to study:
http://code.google.com/p/hyperdbg/

If you have problems/bugs in your project let me know - no matter Intel / AMD, UEFI / BIOS / OS driver.
E.g. you may have almost working hypervisor and be stuck for month or even more trying to fix a problem.

Cheers, Feryno