xl: move some helper functions to xl_utils.c
authorWei Liu <wei.liu2@citrix.com>
Fri, 24 Feb 2017 11:40:41 +0000 (11:40 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 28 Feb 2017 10:40:07 +0000 (10:40 +0000)
commitf0058405a3241eef05001046d1ec10de31ed3e6b
treebaa2a292f060bd74685674dff0772195aeb5740b
parent12f687bf28e23fa662bb518311c4ec71e5b39ab8
xl: move some helper functions to xl_utils.c

Move some commonly used functions to a new file.

find_domain requires access to global variable common_domname. Make that
non-static.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xl/Makefile
tools/xl/xl_cmdimpl.c
tools/xl/xl_utils.c [new file with mode: 0644]
tools/xl/xl_utils.h