[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How do I print all hypercalls as they come in?



Andrew,

Thanks for your help. I am trying to log the following hypercalls to dmesg as they come in:

Â-HYPERVISOR_grant_table_op()

- HYPERVISOR_mmu_update()

- HYPERVISOR_set_trap_table()

Are there single handlers for these as well?Â

Thanks,


On Thu, Feb 5, 2015 at 4:20 PM, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
On 05/02/15 21:16, D'Mita Levy wrote:
Hello,

I am trying to compile a xen build that will simply print all the hypercalls as they come into the hypervisor. Specifically, I'm looking for the hypercall handler function so that I can insert a simple printk statement.

The logging rate will easily overwhelm your serial connection. What is the actual piece of information you are after?

I'm having trouble because I can't find a doc that describes what most of the modules found in xen/arch/x86 and x86_64 do...am I right in thinking that the do_platform_op function in platform_hypercall.c serves as the entry point for all hypercalls?

do_platform_op() is the handler for __HYPERCALL_platform_op which is one single hypercall.

The actual hypercall root handler is the 'hypercall' symbol in arch/x86/x86_64/entry.S

~Andrew



--
D'Mita Levy
Cyber Fellow, Applied Research Center
Florida International University
Â
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.