WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] notify_via_evtchn currently returning void (could be'int

To: "Stefan Berger" <stefanb@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] notify_via_evtchn currently returning void (could be'int')
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 15 Apr 2005 18:12:44 +0100
Delivery-date: Fri, 15 Apr 2005 17:12:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVBy3bWacOi/nVzQEq04vX9IkceWgAEszug
Thread-topic: [Xen-devel] notify_via_evtchn currently returning void (could be'int')
>   The function 
> include/asm-xen/evtchn.h:notify_via_evtchn(int) currently has 
> a 'void' as return, however, there are useful error values 
> coming back from the Hypervisor call. Would it be possible to 
> have this value return an 'int' and the result of the 
> Hypervisor call? Thanks.

Yep, EINVAL is a possibility. Could you work up a patch?

Thanks,
Ian 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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