meson, configure: move --tls-priority to meson
[qemu.git] / meson_options.txt
blobc8e0a10d914eaeed91d0c461623ee3d8ae9c07a4
1 # These options do not correspond to a --enable/--disable-* option
2 # on the configure script command line.  If you add more, list them in
3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
5 option('qemu_suffix', type : 'string', value: 'qemu',
6        description: 'Suffix for QEMU data/modules/config directories (can be empty)')
7 option('docdir', type : 'string', value : 'doc',
8        description: 'Base directory for documentation installation (can be empty)')
9 option('qemu_firmwarepath', type : 'string', value : '',
10        description: 'search PATH for firmware files')
11 option('smbd', type : 'string', value : '',
12        description: 'Path to smbd for slirp networking')
13 option('sphinx_build', type : 'string', value : '',
14        description: 'Use specified sphinx-build for building document')
15 option('iasl', type : 'string', value : '',
16        description: 'Path to ACPI disassembler')
17 option('tls_priority', type : 'string', value : 'NORMAL',
18        description: 'Default TLS protocol/cipher priority string')
19 option('default_devices', type : 'boolean', value : true,
20        description: 'Include a default selection of devices in emulators')
21 option('audio_drv_list', type: 'array', value: ['default'],
22        choices: ['alsa', 'coreaudio', 'default', 'dsound', 'jack', 'oss', 'pa', 'sdl'],
23        description: 'Set audio driver list')
24 option('fuzzing_engine', type : 'string', value : '',
25        description: 'fuzzing engine library for OSS-Fuzz')
26 option('trace_file', type: 'string', value: 'trace',
27        description: 'Trace file prefix for simple backend')
29 # Everything else can be set via --enable/--disable-* option
30 # on the configure script command line.  After adding an option
31 # here make sure to run "make update-buildoptions".
33 option('docs', type : 'feature', value : 'auto',
34        description: 'Documentations build support')
35 option('fuzzing', type : 'boolean', value: false,
36        description: 'build fuzzing targets')
37 option('gettext', type : 'feature', value : 'auto',
38        description: 'Localization of the GTK+ user interface')
39 option('module_upgrades', type : 'boolean', value : false,
40        description: 'try to load modules from alternate paths for upgrades')
41 option('install_blobs', type : 'boolean', value : true,
42        description: 'install provided firmware blobs')
43 option('sparse', type : 'feature', value : 'auto',
44        description: 'sparse checker')
45 option('guest_agent', type : 'feature', value : 'auto',
46        description: 'Build QEMU Guest Agent')
47 option('guest_agent_msi', type : 'feature', value : 'auto',
48        description: 'Build MSI package for the QEMU Guest Agent')
49 option('tools', type : 'feature', value : 'auto',
50        description: 'build support utilities that come with QEMU')
51 option('qga_vss', type : 'feature', value: 'auto',
52        description: 'build QGA VSS support (broken with MinGW)')
54 option('malloc_trim', type : 'feature', value : 'auto',
55        description: 'enable libc malloc_trim() for memory optimization')
56 option('malloc', type : 'combo', choices : ['system', 'tcmalloc', 'jemalloc'],
57        value: 'system', description: 'choose memory allocator to use')
59 option('kvm', type: 'feature', value: 'auto',
60        description: 'KVM acceleration support')
61 option('hax', type: 'feature', value: 'auto',
62        description: 'HAX acceleration support')
63 option('whpx', type: 'feature', value: 'auto',
64        description: 'WHPX acceleration support')
65 option('hvf', type: 'feature', value: 'auto',
66        description: 'HVF acceleration support')
67 option('nvmm', type: 'feature', value: 'auto',
68        description: 'NVMM acceleration support')
69 option('xen', type: 'feature', value: 'auto',
70        description: 'Xen backend support')
71 option('xen_pci_passthrough', type: 'feature', value: 'auto',
72        description: 'Xen PCI passthrough support')
73 option('tcg', type: 'feature', value: 'auto',
74        description: 'TCG support')
75 option('tcg_interpreter', type: 'boolean', value: false,
76        description: 'TCG with bytecode interpreter (slow)')
77 option('cfi', type: 'boolean', value: 'false',
78        description: 'Control-Flow Integrity (CFI)')
79 option('cfi_debug', type: 'boolean', value: 'false',
80        description: 'Verbose errors in case of CFI violation')
81 option('multiprocess', type: 'feature', value: 'auto',
82        description: 'Out of process device emulation support')
83 option('dbus_display', type: 'feature', value: 'auto',
84        description: '-display dbus support')
85 option('tpm', type : 'feature', value : 'auto',
86        description: 'TPM support')
88 # Do not enable it by default even for Mingw32, because it doesn't
89 # work on Wine.
90 option('membarrier', type: 'feature', value: 'disabled',
91        description: 'membarrier system call (for Linux 4.14+ or Windows')
93 option('avx2', type: 'feature', value: 'auto',
94        description: 'AVX2 optimizations')
95 option('avx512f', type: 'feature', value: 'disabled',
96        description: 'AVX512F optimizations')
97 option('keyring', type: 'feature', value: 'auto',
98        description: 'Linux keyring support')
100 option('attr', type : 'feature', value : 'auto',
101        description: 'attr/xattr support')
102 option('auth_pam', type : 'feature', value : 'auto',
103        description: 'PAM access control')
104 option('brlapi', type : 'feature', value : 'auto',
105        description: 'brlapi character device driver')
106 option('bzip2', type : 'feature', value : 'auto',
107        description: 'bzip2 support for DMG images')
108 option('cap_ng', type : 'feature', value : 'auto',
109        description: 'cap_ng support')
110 option('bpf', type : 'feature', value : 'auto',
111         description: 'eBPF support')
112 option('cocoa', type : 'feature', value : 'auto',
113        description: 'Cocoa user interface (macOS only)')
114 option('curl', type : 'feature', value : 'auto',
115        description: 'CURL block device driver')
116 option('gio', type : 'feature', value : 'auto',
117        description: 'use libgio for D-Bus support')
118 option('glusterfs', type : 'feature', value : 'auto',
119        description: 'Glusterfs block device driver')
120 option('libiscsi', type : 'feature', value : 'auto',
121        description: 'libiscsi userspace initiator')
122 option('libnfs', type : 'feature', value : 'auto',
123        description: 'libnfs block device driver')
124 option('mpath', type : 'feature', value : 'auto',
125        description: 'Multipath persistent reservation passthrough')
126 option('numa', type : 'feature', value : 'auto',
127        description: 'libnuma support')
128 option('iconv', type : 'feature', value : 'auto',
129        description: 'Font glyph conversion support')
130 option('curses', type : 'feature', value : 'auto',
131        description: 'curses UI')
132 option('gnutls', type : 'feature', value : 'auto',
133        description: 'GNUTLS cryptography support')
134 option('nettle', type : 'feature', value : 'auto',
135        description: 'nettle cryptography support')
136 option('gcrypt', type : 'feature', value : 'auto',
137        description: 'libgcrypt cryptography support')
138 option('crypto_afalg', type : 'feature', value : 'disabled',
139        description: 'Linux AF_ALG crypto backend driver')
140 option('libdaxctl', type : 'feature', value : 'auto',
141        description: 'libdaxctl support')
142 option('libpmem', type : 'feature', value : 'auto',
143        description: 'libpmem support')
144 option('libssh', type : 'feature', value : 'auto',
145        description: 'ssh block device support')
146 option('libudev', type : 'feature', value : 'auto',
147        description: 'Use libudev to enumerate host devices')
148 option('libusb', type : 'feature', value : 'auto',
149        description: 'libusb support for USB passthrough')
150 option('linux_aio', type : 'feature', value : 'auto',
151        description: 'Linux AIO support')
152 option('linux_io_uring', type : 'feature', value : 'auto',
153        description: 'Linux io_uring support')
154 option('lzfse', type : 'feature', value : 'auto',
155        description: 'lzfse support for DMG images')
156 option('lzo', type : 'feature', value : 'auto',
157        description: 'lzo compression support')
158 option('rbd', type : 'feature', value : 'auto',
159        description: 'Ceph block device driver')
160 option('opengl', type : 'feature', value : 'auto',
161        description: 'OpenGL support')
162 option('rdma', type : 'feature', value : 'auto',
163        description: 'Enable RDMA-based migration')
164 option('pvrdma', type : 'feature', value : 'auto',
165        description: 'Enable PVRDMA support')
166 option('gtk', type : 'feature', value : 'auto',
167        description: 'GTK+ user interface')
168 option('sdl', type : 'feature', value : 'auto',
169        description: 'SDL user interface')
170 option('sdl_image', type : 'feature', value : 'auto',
171        description: 'SDL Image support for icons')
172 option('seccomp', type : 'feature', value : 'auto',
173        description: 'seccomp support')
174 option('smartcard', type : 'feature', value : 'auto',
175        description: 'CA smartcard emulation support')
176 option('snappy', type : 'feature', value : 'auto',
177        description: 'snappy compression support')
178 option('spice', type : 'feature', value : 'auto',
179        description: 'Spice server support')
180 option('spice_protocol', type : 'feature', value : 'auto',
181        description: 'Spice protocol support')
182 option('u2f', type : 'feature', value : 'auto',
183        description: 'U2F emulation support')
184 option('usb_redir', type : 'feature', value : 'auto',
185        description: 'libusbredir support')
186 option('l2tpv3', type : 'feature', value : 'auto',
187        description: 'l2tpv3 network backend support')
188 option('netmap', type : 'feature', value : 'auto',
189        description: 'netmap network backend support')
190 option('vde', type : 'feature', value : 'auto',
191        description: 'vde network backend support')
192 option('virglrenderer', type : 'feature', value : 'auto',
193        description: 'virgl rendering support')
194 option('png', type : 'feature', value : 'auto',
195        description: 'PNG support with libpng')
196 option('vnc', type : 'feature', value : 'auto',
197        description: 'VNC server')
198 option('vnc_jpeg', type : 'feature', value : 'auto',
199        description: 'JPEG lossy compression for VNC server')
200 option('vnc_sasl', type : 'feature', value : 'auto',
201        description: 'SASL authentication for VNC server')
202 option('vte', type : 'feature', value : 'auto',
203        description: 'vte support for the gtk UI')
204 option('xkbcommon', type : 'feature', value : 'auto',
205        description: 'xkbcommon support')
206 option('zstd', type : 'feature', value : 'auto',
207        description: 'zstd compression support')
208 option('fuse', type: 'feature', value: 'auto',
209        description: 'FUSE block device export')
210 option('fuse_lseek', type : 'feature', value : 'auto',
211        description: 'SEEK_HOLE/SEEK_DATA support for FUSE exports')
213 option('trace_backends', type: 'array', value: ['log'],
214        choices: ['dtrace', 'ftrace', 'log', 'nop', 'simple', 'syslog', 'ust'],
215        description: 'Set available tracing backends')
217 option('alsa', type: 'feature', value: 'auto',
218        description: 'ALSA sound support')
219 option('coreaudio', type: 'feature', value: 'auto',
220        description: 'CoreAudio sound support')
221 option('dsound', type: 'feature', value: 'auto',
222        description: 'DirectSound sound support')
223 option('jack', type: 'feature', value: 'auto',
224        description: 'JACK sound support')
225 option('oss', type: 'feature', value: 'auto',
226        description: 'OSS sound support')
227 option('pa', type: 'feature', value: 'auto',
228        description: 'PulseAudio sound support')
230 option('vhost_user_blk_server', type: 'feature', value: 'auto',
231        description: 'build vhost-user-blk server')
232 option('virtfs', type: 'feature', value: 'auto',
233        description: 'virtio-9p support')
234 option('virtiofsd', type: 'feature', value: 'auto',
235        description: 'build virtiofs daemon (virtiofsd)')
237 option('capstone', type: 'combo', value: 'auto',
238        choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
239        description: 'Whether and how to find the capstone library')
240 option('slirp', type: 'combo', value: 'auto',
241        choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
242        description: 'Whether and how to find the slirp library')
243 option('fdt', type: 'combo', value: 'auto',
244        choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
245        description: 'Whether and how to find the libfdt library')
247 option('selinux', type: 'feature', value: 'auto',
248        description: 'SELinux support in qemu-nbd')
249 option('live_block_migration', type: 'feature', value: 'auto',
250        description: 'block migration in the main migration stream')
251 option('replication', type: 'feature', value: 'auto',
252        description: 'replication support')
253 option('bochs', type: 'feature', value: 'auto',
254        description: 'bochs image format support')
255 option('cloop', type: 'feature', value: 'auto',
256        description: 'cloop image format support')
257 option('dmg', type: 'feature', value: 'auto',
258        description: 'dmg image format support')
259 option('qcow1', type: 'feature', value: 'auto',
260        description: 'qcow1 image format support')
261 option('vdi', type: 'feature', value: 'auto',
262        description: 'vdi image format support')
263 option('vvfat', type: 'feature', value: 'auto',
264        description: 'vvfat image format support')
265 option('qed', type: 'feature', value: 'auto',
266        description: 'qed image format support')
267 option('parallels', type: 'feature', value: 'auto',
268        description: 'parallels image format support')
269 option('block_drv_whitelist_in_tools', type: 'boolean', value: false,
270        description: 'use block whitelist also in tools instead of only QEMU')
271 option('rng_none', type: 'boolean', value: false,
272        description: 'dummy RNG, avoid using /dev/(u)random and getrandom()')
273 option('coroutine_pool', type: 'boolean', value: true,
274        description: 'coroutine freelist (better performance)')
275 option('debug_mutex', type: 'boolean', value: false,
276        description: 'mutex debugging support')
277 option('debug_stack_usage', type: 'boolean', value: false,
278        description: 'measure coroutine stack usage')
279 option('qom_cast_debug', type: 'boolean', value: false,
280        description: 'cast debugging support')
281 option('gprof', type: 'boolean', value: false,
282        description: 'QEMU profiling with gprof')
283 option('profiler', type: 'boolean', value: false,
284        description: 'profiler support')
285 option('slirp_smbd', type : 'feature', value : 'auto',
286        description: 'use smbd (at path --smbd=*) in slirp networking')