I have the following question. Please let me know if you know anything about it.
Q- Suppose a guest OS G is running on top of Linux OS. The underlying hardware is based on intel IA-32 hardware. An application program from G makes a system call which results in a trap which will give control to the host OS. Now the main part of the question is that how can we virtualize system calls issued by G so that they are serviced by the kernel code of G. How would you differentiate and control the the application and kernel stacks in G?