[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Xen-Devel] [PATCH] [GSOC14] refactored mempaging code from xenpaging to libxc.
xc_map_foreign_bulk will return -1 if there is a global error, and set errno appropriately (currently, EFAULT). If any of the target pfns are paged out, it will return -ENOENT. Otherwise it returns zero. *But*, even though it returned zero, you need to check the individual entries in the err array for mapping error codes for each pfn.
In other words, for your case, if rc == 0 and *err == 0 you are ok. Andres On Fri, Jun 13, 2014 at 7:23 AM, Dushyant Behl <myselfdushyantbehl@xxxxxxxxx> wrote: This is the updated patch, Please have a look and provide feedback. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |