[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [v6][PATCH 2/7] tools/libxc: introduce hypercall for xc_reserved_device_memory_map
>>> On 12.09.14 at 04:43, <tiejun.chen@xxxxxxxxx> wrote:
> Or are you saying we should use errno ditectly,
>
> +
> + rc = xc_reserved_device_memory_map(xch, xmrdm, &nr_entries);
> + if (rc < 0 ) {
> + switch (errno) {
> + case ENOENT: /* RDM doesn't exist. */
Yes, of course.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|