[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v7 05/12] libs: add libxenhypfs




> On Apr 2, 2020, at 4:46 PM, Juergen Gross <JGross@xxxxxxxx> wrote:
> 
> Add the new library libxenhypfs for access to the hypervisor filesystem.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
> Acked-by: Wei Liu <wl@xxxxxxx>

Just a few questions...

> +/* Returned buffer and dirent should be freed via free(). */
> +void *xenhypfs_read_raw(xenhypfs_handle *fshdl, const char *path,
> +                        struct xenhypfs_dirent **dirent);
> +
> +/* Returned buffer should be freed via free(). */
> +char *xenhypfs_read(xenhypfs_handle *fshdl, const char *path);

What’s the difference between these two?  And what’s the `dirent` argument to 
xenhypfs_read_raw() for?

 -George


 


Rackspace

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