[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/2] libxl: only return {OVMF, SEABIOS}_PATH if available
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- 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 } /* -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |