2021-10-07 16:08:29 +03:00
|
|
|
# These options do not correspond to a --enable/--disable-* option
|
|
|
|
# on the configure script command line. If you add more, list them in
|
|
|
|
# scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
|
|
|
|
|
2020-08-26 14:04:16 +03:00
|
|
|
option('qemu_suffix', type : 'string', value: 'qemu',
|
2020-08-26 14:04:15 +03:00
|
|
|
description: 'Suffix for QEMU data/modules/config directories (can be empty)')
|
2020-08-26 14:04:17 +03:00
|
|
|
option('docdir', type : 'string', value : 'doc',
|
|
|
|
description: 'Base directory for documentation installation (can be empty)')
|
2020-10-16 10:19:14 +03:00
|
|
|
option('qemu_firmwarepath', type : 'string', value : '',
|
|
|
|
description: 'search PATH for firmware files')
|
2020-10-16 01:06:25 +03:00
|
|
|
option('sphinx_build', type : 'string', value : '',
|
|
|
|
description: 'Use specified sphinx-build [$sphinx_build] for building document (default to be empty)')
|
2020-11-20 10:38:22 +03:00
|
|
|
option('default_devices', type : 'boolean', value : true,
|
|
|
|
description: 'Include a default selection of devices in emulators')
|
2021-10-07 16:06:09 +03:00
|
|
|
option('audio_drv_list', type: 'array', value: ['default'],
|
|
|
|
choices: ['alsa', 'coreaudio', 'default', 'dsound', 'jack', 'oss', 'pa', 'sdl'],
|
|
|
|
description: 'Set audio driver list')
|
2021-10-07 16:08:12 +03:00
|
|
|
option('fuzzing_engine', type : 'string', value : '',
|
|
|
|
description: 'fuzzing engine library for OSS-Fuzz')
|
2021-10-07 16:08:14 +03:00
|
|
|
option('trace_file', type: 'string', value: 'trace',
|
|
|
|
description: 'Trace file prefix for simple backend')
|
2021-10-07 16:06:09 +03:00
|
|
|
|
2021-10-07 16:08:29 +03:00
|
|
|
# Everything else can be set via --enable/--disable-* option
|
|
|
|
# on the configure script command line. After adding an option
|
|
|
|
# here make sure to run "make update-buildoptions".
|
|
|
|
|
2020-10-16 01:06:25 +03:00
|
|
|
option('docs', type : 'feature', value : 'auto',
|
|
|
|
description: 'Documentations build support')
|
2021-10-07 16:08:12 +03:00
|
|
|
option('fuzzing', type : 'boolean', value: false,
|
|
|
|
description: 'build fuzzing targets')
|
2020-12-10 22:04:12 +03:00
|
|
|
option('gettext', type : 'feature', value : 'auto',
|
2020-09-01 08:59:23 +03:00
|
|
|
description: 'Localization of the GTK+ user interface')
|
2020-10-16 10:32:52 +03:00
|
|
|
option('install_blobs', type : 'boolean', value : true,
|
|
|
|
description: 'install provided firmware blobs')
|
2020-09-01 14:51:16 +03:00
|
|
|
option('sparse', type : 'feature', value : 'auto',
|
|
|
|
description: 'sparse checker')
|
2021-01-21 13:49:04 +03:00
|
|
|
option('guest_agent_msi', type : 'feature', value : 'auto',
|
|
|
|
description: 'Build MSI package for the QEMU Guest Agent')
|
2020-09-01 08:59:23 +03:00
|
|
|
|
2020-09-01 18:15:30 +03:00
|
|
|
option('malloc_trim', type : 'feature', value : 'auto',
|
|
|
|
description: 'enable libc malloc_trim() for memory optimization')
|
|
|
|
option('malloc', type : 'combo', choices : ['system', 'tcmalloc', 'jemalloc'],
|
|
|
|
value: 'system', description: 'choose memory allocator to use')
|
|
|
|
|
2020-09-18 11:57:25 +03:00
|
|
|
option('kvm', type: 'feature', value: 'auto',
|
|
|
|
description: 'KVM acceleration support')
|
|
|
|
option('hax', type: 'feature', value: 'auto',
|
|
|
|
description: 'HAX acceleration support')
|
|
|
|
option('whpx', type: 'feature', value: 'auto',
|
|
|
|
description: 'WHPX acceleration support')
|
|
|
|
option('hvf', type: 'feature', value: 'auto',
|
|
|
|
description: 'HVF acceleration support')
|
2021-04-02 23:25:32 +03:00
|
|
|
option('nvmm', type: 'feature', value: 'auto',
|
|
|
|
description: 'NVMM acceleration support')
|
2020-09-18 11:57:25 +03:00
|
|
|
option('xen', type: 'feature', value: 'auto',
|
|
|
|
description: 'Xen backend support')
|
|
|
|
option('xen_pci_passthrough', type: 'feature', value: 'auto',
|
|
|
|
description: 'Xen PCI passthrough support')
|
|
|
|
option('tcg', type: 'feature', value: 'auto',
|
|
|
|
description: 'TCG support')
|
2020-12-14 14:01:45 +03:00
|
|
|
option('tcg_interpreter', type: 'boolean', value: false,
|
2021-01-25 17:45:28 +03:00
|
|
|
description: 'TCG with bytecode interpreter (experimental and slow)')
|
2020-12-05 02:06:14 +03:00
|
|
|
option('cfi', type: 'boolean', value: 'false',
|
|
|
|
description: 'Control-Flow Integrity (CFI)')
|
|
|
|
option('cfi_debug', type: 'boolean', value: 'false',
|
|
|
|
description: 'Verbose errors in case of CFI violation')
|
2021-02-17 18:24:25 +03:00
|
|
|
option('multiprocess', type: 'feature', value: 'auto',
|
|
|
|
description: 'Out of process device emulation support')
|
2020-09-18 11:57:25 +03:00
|
|
|
|
2020-11-17 16:45:24 +03:00
|
|
|
option('attr', type : 'feature', value : 'auto',
|
|
|
|
description: 'attr/xattr support')
|
2021-06-03 12:15:26 +03:00
|
|
|
option('auth_pam', type : 'feature', value : 'auto',
|
|
|
|
description: 'PAM access control')
|
2020-11-17 15:02:17 +03:00
|
|
|
option('brlapi', type : 'feature', value : 'auto',
|
|
|
|
description: 'brlapi character device driver')
|
2020-11-17 15:07:52 +03:00
|
|
|
option('bzip2', type : 'feature', value : 'auto',
|
|
|
|
description: 'bzip2 support for DMG images')
|
2020-11-17 16:46:58 +03:00
|
|
|
option('cap_ng', type : 'feature', value : 'auto',
|
|
|
|
description: 'cap_ng support')
|
2021-05-14 14:48:32 +03:00
|
|
|
option('bpf', type : 'feature', value : 'auto',
|
|
|
|
description: 'eBPF support')
|
2020-09-01 18:28:59 +03:00
|
|
|
option('cocoa', type : 'feature', value : 'auto',
|
|
|
|
description: 'Cocoa user interface (macOS only)')
|
2020-11-17 14:43:15 +03:00
|
|
|
option('curl', type : 'feature', value : 'auto',
|
|
|
|
description: 'CURL block device driver')
|
2020-11-17 15:01:26 +03:00
|
|
|
option('glusterfs', type : 'feature', value : 'auto',
|
|
|
|
description: 'Glusterfs block device driver')
|
2020-11-17 15:11:25 +03:00
|
|
|
option('libiscsi', type : 'feature', value : 'auto',
|
|
|
|
description: 'libiscsi userspace initiator')
|
2020-11-17 15:11:25 +03:00
|
|
|
option('libnfs', type : 'feature', value : 'auto',
|
|
|
|
description: 'libnfs block device driver')
|
2020-09-16 19:07:29 +03:00
|
|
|
option('mpath', type : 'feature', value : 'auto',
|
|
|
|
description: 'Multipath persistent reservation passthrough')
|
2020-10-13 02:43:48 +03:00
|
|
|
option('iconv', type : 'feature', value : 'auto',
|
|
|
|
description: 'Font glyph conversion support')
|
|
|
|
option('curses', type : 'feature', value : 'auto',
|
|
|
|
description: 'curses UI')
|
2021-06-03 12:15:26 +03:00
|
|
|
option('gnutls', type : 'feature', value : 'auto',
|
|
|
|
description: 'GNUTLS cryptography support')
|
|
|
|
option('nettle', type : 'feature', value : 'auto',
|
|
|
|
description: 'nettle cryptography support')
|
|
|
|
option('gcrypt', type : 'feature', value : 'auto',
|
|
|
|
description: 'libgcrypt cryptography support')
|
2021-06-03 12:31:35 +03:00
|
|
|
option('libdaxctl', type : 'feature', value : 'auto',
|
|
|
|
description: 'libdaxctl support')
|
2021-06-03 12:31:35 +03:00
|
|
|
option('libpmem', type : 'feature', value : 'auto',
|
|
|
|
description: 'libpmem support')
|
2020-10-15 13:09:27 +03:00
|
|
|
option('libudev', type : 'feature', value : 'auto',
|
|
|
|
description: 'Use libudev to enumerate host devices')
|
2021-06-03 12:15:26 +03:00
|
|
|
option('libusb', type : 'feature', value : 'auto',
|
|
|
|
description: 'libusb support for USB passthrough')
|
2021-06-03 12:31:35 +03:00
|
|
|
option('libxml2', type : 'feature', value : 'auto',
|
|
|
|
description: 'libxml2 support for Parallels image format')
|
2021-10-07 16:08:20 +03:00
|
|
|
option('linux_aio', type : 'feature', value : 'auto',
|
|
|
|
description: 'Linux AIO support')
|
2021-06-03 12:31:35 +03:00
|
|
|
option('linux_io_uring', type : 'feature', value : 'auto',
|
|
|
|
description: 'Linux io_uring support')
|
2020-11-17 15:35:28 +03:00
|
|
|
option('lzfse', type : 'feature', value : 'auto',
|
|
|
|
description: 'lzfse support for DMG images')
|
2020-11-17 15:11:25 +03:00
|
|
|
option('lzo', type : 'feature', value : 'auto',
|
|
|
|
description: 'lzo compression support')
|
2020-11-17 15:11:25 +03:00
|
|
|
option('rbd', type : 'feature', value : 'auto',
|
|
|
|
description: 'Ceph block device driver')
|
2021-01-07 16:02:29 +03:00
|
|
|
option('gtk', type : 'feature', value : 'auto',
|
|
|
|
description: 'GTK+ user interface')
|
2020-09-01 08:59:23 +03:00
|
|
|
option('sdl', type : 'feature', value : 'auto',
|
|
|
|
description: 'SDL user interface')
|
|
|
|
option('sdl_image', type : 'feature', value : 'auto',
|
|
|
|
description: 'SDL Image support for icons')
|
2020-11-17 16:22:24 +03:00
|
|
|
option('seccomp', type : 'feature', value : 'auto',
|
|
|
|
description: 'seccomp support')
|
2021-06-03 12:15:26 +03:00
|
|
|
option('smartcard', type : 'feature', value : 'auto',
|
|
|
|
description: 'CA smartcard emulation support')
|
2020-11-17 15:32:34 +03:00
|
|
|
option('snappy', type : 'feature', value : 'auto',
|
|
|
|
description: 'snappy compression support')
|
2021-10-07 16:08:23 +03:00
|
|
|
option('spice', type : 'feature', value : 'auto',
|
|
|
|
description: 'Spice server support')
|
|
|
|
option('spice_protocol', type : 'feature', value : 'auto',
|
|
|
|
description: 'Spice protocol support')
|
2020-09-01 08:59:23 +03:00
|
|
|
option('u2f', type : 'feature', value : 'auto',
|
|
|
|
description: 'U2F emulation support')
|
2021-06-03 12:15:26 +03:00
|
|
|
option('usb_redir', type : 'feature', value : 'auto',
|
|
|
|
description: 'libusbredir support')
|
2021-10-07 16:08:22 +03:00
|
|
|
option('netmap', type : 'feature', value : 'auto',
|
|
|
|
description: 'netmap network backend support')
|
2021-10-07 16:08:21 +03:00
|
|
|
option('vde', type : 'feature', value : 'auto',
|
|
|
|
description: 'vde network backend support')
|
2021-06-03 12:31:35 +03:00
|
|
|
option('virglrenderer', type : 'feature', value : 'auto',
|
|
|
|
description: 'virgl rendering support')
|
2021-09-03 11:13:55 +03:00
|
|
|
option('vnc', type : 'feature', value : 'auto',
|
2020-09-01 08:59:23 +03:00
|
|
|
description: 'VNC server')
|
|
|
|
option('vnc_jpeg', type : 'feature', value : 'auto',
|
|
|
|
description: 'JPEG lossy compression for VNC server')
|
|
|
|
option('vnc_png', type : 'feature', value : 'auto',
|
|
|
|
description: 'PNG compression for VNC server')
|
|
|
|
option('vnc_sasl', type : 'feature', value : 'auto',
|
|
|
|
description: 'SASL authentication for VNC server')
|
2021-06-03 12:31:35 +03:00
|
|
|
option('vte', type : 'feature', value : 'auto',
|
|
|
|
description: 'vte support for the gtk UI')
|
2020-09-01 08:59:23 +03:00
|
|
|
option('xkbcommon', type : 'feature', value : 'auto',
|
|
|
|
description: 'xkbcommon support')
|
2020-11-17 15:37:39 +03:00
|
|
|
option('zstd', type : 'feature', value : 'auto',
|
|
|
|
description: 'zstd compression support')
|
2020-10-27 22:05:41 +03:00
|
|
|
option('fuse', type: 'feature', value: 'auto',
|
|
|
|
description: 'FUSE block device export')
|
2020-10-27 22:05:46 +03:00
|
|
|
option('fuse_lseek', type : 'feature', value : 'auto',
|
|
|
|
description: 'SEEK_HOLE/SEEK_DATA support for FUSE exports')
|
2020-09-13 22:19:25 +03:00
|
|
|
|
2021-10-07 16:08:14 +03:00
|
|
|
option('trace_backends', type: 'array', value: ['log'],
|
|
|
|
choices: ['dtrace', 'ftrace', 'log', 'nop', 'simple', 'syslog', 'ust'],
|
|
|
|
description: 'Set available tracing backends')
|
|
|
|
|
2021-10-07 16:06:09 +03:00
|
|
|
option('alsa', type: 'feature', value: 'auto',
|
|
|
|
description: 'ALSA sound support')
|
|
|
|
option('coreaudio', type: 'feature', value: 'auto',
|
|
|
|
description: 'CoreAudio sound support')
|
|
|
|
option('dsound', type: 'feature', value: 'auto',
|
|
|
|
description: 'DirectSound sound support')
|
|
|
|
option('jack', type: 'feature', value: 'auto',
|
|
|
|
description: 'JACK sound support')
|
|
|
|
option('oss', type: 'feature', value: 'auto',
|
|
|
|
description: 'OSS sound support')
|
|
|
|
option('pa', type: 'feature', value: 'auto',
|
|
|
|
description: 'PulseAudio sound support')
|
|
|
|
|
2020-11-17 16:46:21 +03:00
|
|
|
option('vhost_user_blk_server', type: 'feature', value: 'auto',
|
|
|
|
description: 'build vhost-user-blk server')
|
|
|
|
option('virtfs', type: 'feature', value: 'auto',
|
|
|
|
description: 'virtio-9p support')
|
|
|
|
option('virtiofsd', type: 'feature', value: 'auto',
|
|
|
|
description: 'build virtiofs daemon (virtiofsd)')
|
|
|
|
|
2020-09-13 22:19:25 +03:00
|
|
|
option('capstone', type: 'combo', value: 'auto',
|
|
|
|
choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
|
|
|
|
description: 'Whether and how to find the capstone library')
|
2020-10-05 12:31:15 +03:00
|
|
|
option('slirp', type: 'combo', value: 'auto',
|
|
|
|
choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
|
|
|
|
description: 'Whether and how to find the slirp library')
|
2020-10-05 12:31:15 +03:00
|
|
|
option('fdt', type: 'combo', value: 'auto',
|
|
|
|
choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
|
|
|
|
description: 'Whether and how to find the libfdt library')
|