configure: #define SEABIOS_PATH and OVMF_PATH

Those paths are to be used by libxl, in order to load the firmware in
memory. If a system path is not defined via --with-system-seabios or
--with-system-ovmf, then default to the Xen firmware directory.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
Anthony PERARD authored and Wei Liu committed 2016-08-18 17:24:39 +01:00
1 parent d57f1a7f3d
commit 1030baf09f
3 files changed
+22

No files matched your search

+6
View File
@@ -96,6 +96,9 @@
/* libutil header file name */
#undef INCLUDE_LIBUTIL_H
/* OVMF path */
#undef OVMF_PATH
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
@@ -117,6 +120,9 @@
/* Qemu Xen path */
#undef QEMU_XEN_PATH
/* SeaBIOS path */
#undef SEABIOS_PATH
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
+10
View File
@@ -4451,6 +4451,11 @@ fi
cat >>confdefs.h <<_ACEOF
#define SEABIOS_PATH "${seabios_path:-$XENFIRMWAREDIR/bios.bin}"
_ACEOF
# Check whether --with-system-ovmf was given.
if test "${with_system_ovmf+set}" = set; then :
@@ -4464,6 +4469,11 @@ fi
cat >>confdefs.h <<_ACEOF
#define OVMF_PATH "${ovmf_path:-$XENFIRMWAREDIR/ovmf.bin}"
_ACEOF
# Check whether --with-extra-qemuu-configure-args was given.
if test "${with_extra_qemuu_configure_args+set}" = set; then :
+6
View File
@@ -221,6 +221,9 @@ AC_ARG_WITH([system-seabios],
esac
],[])
AC_SUBST(seabios_path)
AC_DEFINE_UNQUOTED([SEABIOS_PATH],
["${seabios_path:-$XENFIRMWAREDIR/bios.bin}"],
[SeaBIOS path])
AC_ARG_WITH([system-ovmf],
AS_HELP_STRING([--with-system-ovmf@<:@=PATH@:>@],
@@ -232,6 +235,9 @@ AC_ARG_WITH([system-ovmf],
esac
],[])
AC_SUBST(ovmf_path)
AC_DEFINE_UNQUOTED([OVMF_PATH],
["${ovmf_path:-$XENFIRMWAREDIR/ovmf.bin}"],
[OVMF path])
AC_ARG_WITH([extra-qemuu-configure-args],
AS_HELP_STRING([--with-extra-qemuu-configure-args@<:@="--ARG1 ..."@:>@],
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.