[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.



This is the updated patch, Please have a look and provide feedback.
I have also created a new patch to be applied on top of this which
will replace the call to deprecated function xc_map_foreign_batch with
the call to xc_map_foreign_bulk.
I think that the interface to both functions is same but they report
error in different ways, where xc_map_foreign_bulk sets errno in err
argument. I am not able to find out how to decode the errno to
get the error messages, If you could please point me how to check
which errno corresponds to which error then i'll send the next patch
right after this.

Also, The arguments are properly aligned with xc_interface in the
patch and the source code, maybe the misalignment here is caused in
between somewhere.

> +int xc_mem_paging_ring_setup(xc_interface *xch, domid_t domain_id,
> +                                void *ring_page, int *port,
> +                                uint32_t *evtchn_port,
> +                                xc_evtchn **xce_handle,
> +                                mem_event_back_ring_t *back_ring)

Thanks,
Dushyant Behl

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.