All of lore.kernel.org
 help / color / mirror / Atom feed
* how can I find code of hypercall?
@ 2009-03-11  9:52 leilei175
  2009-03-11 10:08 ` Jayaraman, Bhaskar
  0 siblings, 1 reply; 6+ messages in thread
From: leilei175 @ 2009-03-11  9:52 UTC (permalink / raw)
  To: xen-devel

hi,all
I am trying to check how hypercall works.
For example , one guest call HYPERVISOR_update_va_mapping(), next
thing is to call   _hypercall4(int, update_va_mapping,
va,new_val.pte_low, pte_hi, flags)
Then I find the core of _hypercall14 is call hypercall_page +
("STR(__HYPERVISOR_##name)" * 32).
The hypercalls are mapped into a page so guest call call it through
functions in that page.
However, I couldn't trace deeper from here. grep for "hypercall_page"
gets no answer.

My question is when is this page filled with hypercall functions and
Where can I find codes of this core functions?
Any advice is appreciated.

Thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-11 14:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  9:52 how can I find code of hypercall? leilei175
2009-03-11 10:08 ` Jayaraman, Bhaskar
2009-03-11 10:26   ` Keir Fraser
2009-03-11 11:46     ` Jayaraman, Bhaskar
2009-03-11 14:16       ` Goswin von Brederlow
2009-03-11 12:37     ` leilei175

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.