This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] return value checking on multicalls

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] return value checking on multicalls
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 14 Mar 2007 10:02:54 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Mar 2007 10:01:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45F837AA.76E4.0078.0@xxxxxxxxxx>
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: <45F828EB.76E4.0078.0@xxxxxxxxxx> <45F82698.2050203@xxxxxxxx> <45F837AA.76E4.0078.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070302)
Jan Beulich wrote:
> Hmm, that doesn't seem to fit all cases. There are hypercalls that
> return non-errno-like values, and you shouldn't make any
> assumptions about these.

It's been a nice simplification in my work, but I haven't used it with
anything where success > 0, or where I've even cared about results other
than failure.  And the advantage is that the incremental effort of
batching a series of calls is very small.

I just thought it might be useful.  Perhaps the interface could be
extended to be more useful in the cases you're looking at.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>