From: "Jan Beulich" Subject: Re: [PATCH 10/17] PVH xen: introduce vmx_pvh.c and pvh.c Date: Fri, 26 Apr 2013 08:20:11 +0100 Message-ID: <517A46CB02000078000D0F84@nat28.tlf.novell.com> References: <1366752366-16594-1-git-send-email-mukesh.rathor@oracle.com> <1366752366-16594-11-git-send-email-mukesh.rathor@oracle.com> <5177B85B02000078000D03CA@nat28.tlf.novell.com> <20130424175714.11d53ffc@mantra.us.oracle.com> <5179074802000078000D099C@nat28.tlf.novell.com> <20130425181628.5ea45b33@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130425181628.5ea45b33@mantra.us.oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 26.04.13 at 03:16, Mukesh Rathor wrote: > On Thu, 25 Apr 2013 09:36:56 +0100 "Jan Beulich" wrote: >> >>> On 25.04.13 at 02:57, Mukesh Rathor wrote: >>> I am not sure I understant what you mean by copying hypercall_table. You >>> mean copy all the calls in this table above from entry.S? > >>Yes - memcpy() the whole table, then overwrite the (few) entries >>you need to overwrite. After all, in the long run adding a new >>hypercall ought to "just work" for PVH (and in most cases even for > > How would a poor soul who is trying to find all callers of do_xxx() > find it then? And is it really that often that hypercalls are added > that it is such a big deal? It's no that often, but I nevertheless dislike that redundancy. Ideally there would be just one hypercall table (not considering the compat case, which has to have a different one because of the different calling convention), and the hypercall handlers would take care of the details... Jan