I am trying to port KVM (Written for Linux) to Mac OS X.
Background work : I started going through Apple Developer Documents which lists out a pr
Your approach is incorrect.
KVM is inherently an extremely OS-specific application. Porting it to Mac OS X is not simply a matter of going through the code and fixing compile errors — significant parts of it will need to be rewritten entirely to work on OS X. (Just for starters, for instance, there is no /dev/kvm
on OS X. VT support works in a completely different way.)
If any of this is news to you, TURN BACK NOW. KVM is not a simple piece of software. If you do not first understand what you are dealing with, you will not be able to port it, no matter how much time you spend on it.