views:

124

answers:

1

This is a homework problem that I have. I have been doing some research and couldn't find much. I did find a powerpoint but could not make much sense of it due to lack of text.

http://xen.org/files/xensummit_tokyo/19_KoichiOnoue_en.pdf

(Specifically, what is gPa and hPa?)

I was wondering if anyone could point me in the correct direction of where to look next.

Here is the question:

Explain how one could virtualize system calls issued by Pguest so that they are serviced by kernel code of the guest OS (mapped into the address space of Pguest). How do you differentiate and control the switching between application and kernel stacks in Pguest? In your answer, include a diagram that shows how control is redirected between various parts of memory, to handle virtualized system calls.

Any help would be appreciated!

+1  A: 

These are "guest physical address" and "host physical address".

I hesitate to go into too much detail when it is coursework. You need to do the legwork yourself or you will not learn the material and you risk failing the exams/tests.

Hopefully you know how memory-mapping works at the OS kernel and CPU levels. You will find lots more material if you just search Google for the three keywords gpa hpa and VM.

Michael Dillon
Thanks for the tip :) I've been searching for a while with "virtual memory system call" and stuff along that line, and have not been coming up with much. I will try your hint :)
hahuang65
Hey sorry to ask you another thing.... what is gVa? Guest Virtual Address?
hahuang65
Yes, guest virtual address. Google works fine with abbreviations too. When you get too many random pages, try adding something related to the subject and try grouping two-word phrases in quotation marks such as "virtual memory" or "system call"
Michael Dillon