From: John Levon Subject: xsm_op() polymorphism Date: Mon, 10 Dec 2007 19:41:22 +0000 Message-ID: <20071210194122.GA4293@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org If I'm reading the code right, then the xsm_op() hypercall is "untyped" in the sense that you have to know why XSM is loaded before you can interpret any of the contents (that is, the first argument points directly to a flask op or acm op structure). This seems less than ideal - can't we work out a way to make the struct self-identifying? thanks john