Re: [PATCH v3 23/38] tools/libxc: untangle libxenctrl from libxenguest

2020-08-27 Thread Wei Liu
On Sun, Aug 23, 2020 at 11:35:04AM +0200, Juergen Gross wrote: > Sources of libxenctrl and libxenguest are completely entangled. In > practice libxenguest is a user of libxenctrl, so don't let any source > libxenctrl include xg_private.h. > > This can be achieved by moving all definitions used by

[PATCH v3 23/38] tools/libxc: untangle libxenctrl from libxenguest

2020-08-23 Thread Juergen Gross
Sources of libxenctrl and libxenguest are completely entangled. In practice libxenguest is a user of libxenctrl, so don't let any source libxenctrl include xg_private.h. This can be achieved by moving all definitions used by libxenctrl from xg_private.h to xc_private.h. Export xenctrl_dom.h as it