From: Keir Fraser Subject: Re: grant tables and HVM+PV Date: Fri, 28 Mar 2008 17:03:17 +0000 Message-ID: References: <20080328165022.GA21681@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080328165022.GA21681@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 28/3/08 16:50, "John Levon" wrote: > Has broken our HVM PV drivers. Previously we were using: > > 520 if ((HYPERVISOR_grant_table_op(GNTTABOP_setup_table, pset, 1) != > 0) || > 521 (pset->status != 0)) { > > even on HVM. Now, this isn't actually necessary (stuff works fine with > the call nop'd out, presumably due to the auto-sizing), but I wonder why the > only grant op allowed is _query_size? IE what's the status of grant > table code on HVM/PV? Is it just disabled because no compat audit has > been done, or what? Most of the mapping calls wouldn't work at all. Query_size() could probably be simply given a stub implementation for HVM that returns all is good. -- Keir