|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] tools/libs/guest: fix out of tree builds of libxenguest users
On 24.09.20 22:23, Andrew Cooper wrote: On 23/09/2020 06:24, Juergen Gross wrote: Yes, but the xenctrl.h half will be empty :-) (see my patch from Sep 9th). The #ifdef will remain, though. Another solution would be to make xenctrl_dom.h an internal header again which has to be included by every user needing the domain loader stuff. Question then is why all of this is part of libxenguest. Or we could remove the prototype of xc_dom_register_loader() and the definition of struct xc_dom_loader from the header and make it private to libxenguest, and modify struct xc_dom_image to hold an opaque pointer to struct elf_dom_parms instead of having it as a sub-structure. This would remove the need to include xen/libelf/libelf.h from xenctrl_dom.h. The question would then be how usable the whole stuff is for someone not having the layout of struct elf_dom_parms. And finally we could split libxenguest and have a libxendomload which will be usable Xen internal only. Any preference? Juergen
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |