[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl: only return {OVMF, SEABIOS}_PATH if available
commit fb3cc1796201b249f5bee2b8b3583d279fb4d7cf Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Mon Aug 22 16:05:15 2016 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Wed Aug 24 12:44:19 2016 +0100 libxl: only return {OVMF,SEABIOS}_PATH if available Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Tested-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/libxl/libxl_paths.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/libxl/libxl_paths.c b/tools/libxl/libxl_paths.c index 6972b90..0643c1b 100644 --- a/tools/libxl/libxl_paths.c +++ b/tools/libxl/libxl_paths.c @@ -37,12 +37,20 @@ const char *libxl__run_dir_path(void) const char *libxl__seabios_path(void) { +#ifdef SEABIOS_PATH return SEABIOS_PATH; +#else + return NULL; +#endif } const char *libxl__ovmf_path(void) { +#ifdef OVMF_PATH return OVMF_PATH; +#else + return NULL; +#endif } /* -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |