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