Files
xen/tools/config.h.in
T
Juergen Gross c9a899f7f4 tools: add configure option for disabling pygrub
Add a "--disable-pygrub" option for being able to disable the build
and installation of pygrub.

There are two main reasons to do so:

- A main reason to use pygrub is to allow a PV guest to choose its
  bitness (32- or 64-bit). Pygrub allows that by looking into the boot
  image and to start the guest in the correct mode depending on the
  kernel selected. With 32-bit PV guests being deprecated and the
  possibility to even build a hypervisor without 32-bit PV support,
  this use case is gone for at least some configurations.

- Pygrub is running in dom0 with root privileges. As it is operating
  on guest controlled data (the boot image) and taking decisions based
  on this data, there is a higher security risk. Not being possible
  to use pygrub is thus a step towards a reduction of attack surface.

Default is still to build and install pygrub.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
2023-08-09 09:05:23 +02:00

169 lines
3.9 KiB
C

/* config.h.in. Generated from configure.ac by autoheader. */
/* Enabling support partial device tree in libxl */
#undef ENABLE_PARTIAL_DEVICE_TREE
/* Define to 1 if you have the declaration of `fdt_first_subnode', and to 0 if
you don't. */
#undef HAVE_DECL_FDT_FIRST_SUBNODE
/* Define to 1 if you have the declaration of `fdt_next_subnode', and to 0 if
you don't. */
#undef HAVE_DECL_FDT_NEXT_SUBNODE
/* Define to 1 if you have the declaration of `fdt_property_u32', and to 0 if
you don't. */
#undef HAVE_DECL_FDT_PROPERTY_U32
/* Define to 1 if you have the `fdt_first_subnode' function. */
#undef HAVE_FDT_FIRST_SUBNODE
/* Define to 1 if you have the `fdt_next_subnode' function. */
#undef HAVE_FDT_NEXT_SUBNODE
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `fdt' library (-lfdt). */
#undef HAVE_LIBFDT
/* Define to 1 if you have the `lzma' library (-llzma). */
#undef HAVE_LIBLZMA
/* Define to 1 if you have the `yajl' library (-lyajl). */
#undef HAVE_LIBYAJL
/* Define to 1 if you have the `z' library (-lz). */
#undef HAVE_LIBZ
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Qemu traditional enabled */
#undef HAVE_QEMU_TRADITIONAL
/* ROMBIOS enabled */
#undef HAVE_ROMBIOS
/* pygrub enabled */
#undef HAVE_PYGRUB
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Systemd available and enabled */
#undef HAVE_SYSTEMD
/* Define to 1 if you have the <sys/eventfd.h> header file. */
#undef HAVE_SYS_EVENTFD_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H
/* Define to 1 if you have the <valgrind/memcheck.h> header file. */
#undef HAVE_VALGRIND_MEMCHECK_H
/* Define to 1 if you have the <yajl/yajl_version.h> header file. */
#undef HAVE_YAJL_YAJL_VERSION_H
/* Define curses header to use */
#undef INCLUDE_CURSES_H
/* Header path for INCLUDE_ENDIAN_H */
#undef INCLUDE_ENDIAN_H
/* Define extfs header to use */
#undef INCLUDE_EXTFS_H
/* IPXE path */
#undef IPXE_PATH
/* Xen's libexec path */
#undef LIBEXEC_BIN
/* OVMF path */
#undef OVMF_PATH
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* 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
/* QMP proxy path */
#undef STUBDOM_QMP_PROXY_PATH
/* Xen's firmware dir */
#undef XENFIRMWAREDIR
/* Xen's config dir */
#undef XEN_CONFIG_DIR
/* Xen's dump directory */
#undef XEN_DUMP_DIR
/* Xen's lib dir */
#undef XEN_LIB_DIR
/* Xen's lock dir */
#undef XEN_LOCK_DIR
/* Xen's log dir */
#undef XEN_LOG_DIR
/* Xen's runstate path */
#undef XEN_RUN_DIR
/* Xen's script dir */
#undef XEN_SCRIPT_DIR
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES