Re: [PATCH v3 15/38] tools/misc: don't include xg_save_restore.h from xen-mfndump.c

2020-08-27 Thread Wei Liu
On Sun, Aug 23, 2020 at 11:34:56AM +0200, Juergen Gross wrote: > xen-mfndump.c is including the libxc private header xg_save_restore.h. > Avoid that by moving the definition of is_mapped() to xen-mfndump.c > (it is used there only) and by duplicating the definition of > M2P_SIZE() in xen-mfndump.c.

[PATCH v3 15/38] tools/misc: don't include xg_save_restore.h from xen-mfndump.c

2020-08-23 Thread Juergen Gross
xen-mfndump.c is including the libxc private header xg_save_restore.h. Avoid that by moving the definition of is_mapped() to xen-mfndump.c (it is used there only) and by duplicating the definition of M2P_SIZE() in xen-mfndump.c. Signed-off-by: Juergen Gross --- tools/libxc/xg_save_restore.h | 4