| To: | Keir Fraser <keir.fraser@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] grant tables and HVM+PV |
| From: | John Levon <levon@xxxxxxxxxxxxxxxxx> |
| Date: | 2008年3月28日 17:07:30 +0000 |
| Cc: | xen-devel@xxxxxxxxxxxxxxxxxxx |
| Delivery-date: | 2008年3月28日 10:08:38 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <C412D555.1E891%keir.fraser@xxxxxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| References: | <20080328165022.GA21681@xxxxxxxxxxxxxxxxxxxxxxx> <C412D555.1E891%keir.fraser@xxxxxxxxxxxxx> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| User-agent: | Mutt/1.5.9i |
On Fri, Mar 28, 2008 at 05:03:17PM +0000, Keir Fraser 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.
OK. I think we were effectively ending up with a call that did nothing
but did it quietly and now we're getting back (the correct) ENOSYS.
Clearly our bug but it wasn't quite obvious what was supposed to work.
> Query_size() could probably be simply given a stub implementation for
> HVM that returns all is good.
It already is, I think?
regards
john
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] [PATCH] actually check for errors in bdrv_flush et al , Ian Jackson |
|---|---|
| Next by Date: | RE: [Xen-devel] pci pass-through, NIC card , Kay, Allen M |
| Previous by Thread: | Re: [Xen-devel] grant tables and HVM+PV , Keir Fraser |
| Next by Thread: | Re: [Xen-devel] grant tables and HVM+PV , Keir Fraser |
| Indexes: | [Date] [Thread] [Top] [All Lists] |