|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] Explicit return type for Hypercall
 
On Thu, Apr 9, 2009 at 4:50 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 09/04/2009 11:38, "Tej" <bewith.tej@xxxxxxxxx> wrote:
>
>> eg in GCOV case, I issued hypercall, when there is no corresponding
>> entry in Hypervisor, it gives -38<3> as return type. and Kernel Send a
>> message to userspace (in case of kernel module) as Kernel does not
>> have module support, which is total misleading.
>
> The return code is ENOSYS, which is appropriate for an unimplemented
> hypercall.
Still it could be misleading, because in case of kernel modules
"module-uti"l packages overrides ENOSYS with message as "Kernel does
not have module support"
an explicit return type could be useful here.
>
>  -- Keir
>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |