From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: [PATCH 23/23] xen/xsm: Add xsm_default parameter to XSM hooks Date: Thu, 6 Dec 2012 09:51:35 +0000 Message-ID: <20121206095135.GD82725@ocelot.phlegethon.org> References: <1354289830-24642-1-git-send-email-dgdegra@tycho.nsa.gov> <1354289830-24642-24-git-send-email-dgdegra@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1354289830-24642-24-git-send-email-dgdegra@tycho.nsa.gov> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Daniel De Graaf Cc: Keir Fraser , Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 10:37 -0500 on 30 Nov (1354271830), Daniel De Graaf wrote: > Include the default XSM hook action as the first argument of the hook to > facilitate quick understanding of how the call site is expected to be > used (dom0-only, arbitrary guest, or device model). This argument does > not solely define how a given hook is interpreted, since any changes to > the hook's default action need to be made identically to all callers of > a hook (if there are multiple callers; most hooks only have one), and > may also require changing the arguments of the hook. > > Signed-off-by: Daniel De Graaf > Cc: Tim Deegan > Cc: Jan Beulich > Cc: Keir Fraser Acked-by: Tim Deegan