From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: How do I print all hypercalls as they come in? Date: Fri, 6 Feb 2015 15:23:29 +0000 Message-ID: <54D4DC71.9000805@citrix.com> References: <54D3DEBA.4040706@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4457732332733687738==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: D'Mita Levy Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============4457732332733687738== Content-Type: multipart/alternative; boundary="------------040708050909020202060008" --------------040708050909020202060008 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 06/02/15 15:17, D'Mita Levy wrote: > 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? > The hypercall_table in arch/x86/x86_64/entry.S is the function pointer dispatch table, and is indexed by hypercall number. ~Andrew --------------040708050909020202060008 Content-Type: text/html; charset="utf-8" Content-Length: 1557 Content-Transfer-Encoding: quoted-printable
On 06/02/15 15:17, D'Mita Levy wrote:
Andrew,

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

=C2=A0-HYPERVISOR_grant_table_op()

- HYPERVISOR_mmu_update()

- HYPERVISOR_set_trap_table()

Are there single handlers for these as well=3F


The hypercall_table in arch/x86/x86_64/entry.S is the function pointer dispatch table, and is indexed by hypercall number.

~Andrew
--------------040708050909020202060008-- --===============4457732332733687738== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4457732332733687738==--