|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4] kexec-tools: Perform run-time linking of libxenctrl.so
Daniel, I've implemented your feedback and posted the following: [PATCH v1] kexec-tools: Tweak run-time handling of libxenctrl.so Regards, eric On 01/18/2018 05:55 AM, Daniel Kiper wrote: On Wed, Jan 17, 2018 at 10:39:01AM -0600, Eric DeVolder wrote:When kexec is utilized in a Xen environment, it has an explicit run-time dependency on libxenctrl.so. This dependency occurs during the configure stage and when building kexec-tools.[...] As I saw Simon applied the patch. Great! Sadly I have just realized that I have missed two things. Please look below.The patch creates a wrapper function around xc_interface_open() and xc_interface_close() to perform the dlopen() and dlclose().You say about dlclose() here... diff --git a/kexec/kexec-xen.h b/kexec/kexec-xen.h new file mode 100644 index 0000000..ffb8743 --- /dev/null +++ b/kexec/kexec-xen.h [...]+/* The handle from dlopen(), needed by dlsym(), dlclose() */ +extern void *xc_dlhandle;...and here but it is never called. Is it by design or by mistake? If by design please add a comment saying why into relevant place, e.g. __xc_interface_close()? If by mistake please fix it. [...]+/* The handle from dlopen(), needed by dlsym(), dlclose() */ +extern void *xc_dlhandle; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |