| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/3] mem_access: modifications to mem_event enable API.
 On Sun, Aug 24, 2014 at 5:26 PM, Dushyant Behl <myselfdushyantbehl@xxxxxxxxx> wrote: 
 If the idea is to assign the mapped ring_page here (so it can be munmap-ed later), then this should be void **, shouldn't it? 
 
 Is ring_pfn (or mmap_pfn) needed anymore? The two were needed because foreign_batch would modify in place the passed pfn to signal error conditions. foreign_bulk treats the pfn as read-only, so I think we can get rid of either. 
 
 
 If the convention will be to set errno (Ians?), then set errno here errno = (err) ? : EINVAL; or similar  
 yeah, ring_page should be void ** Â + * Returns 0 if success and if failure returns -1 with errno properly set. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |