]>
Commit | Line | Data |
---|---|---|
3b4da132 PB |
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. | |
4 | ||
ab4c0996 | 5 | option('qemu_suffix', type : 'string', value: 'qemu', |
73f3aa37 | 6 | description: 'Suffix for QEMU data/modules/config directories (can be empty)') |
c09c1ce7 | 7 | option('docdir', type : 'string', value : 'share/doc', |
491e74c1 | 8 | description: 'Base directory for documentation installation (can be empty)') |
c09c1ce7 | 9 | option('qemu_firmwarepath', type : 'string', value : 'qemu-firmware', |
16bf7a33 | 10 | description: 'search PATH for firmware files') |
b0b4323e PB |
11 | option('pkgversion', type : 'string', value : '', |
12 | description: 'use specified string as sub-version of the package') | |
35acbb30 PB |
13 | option('smbd', type : 'string', value : '', |
14 | description: 'Path to smbd for slirp networking') | |
e3667660 | 15 | option('sphinx_build', type : 'string', value : '', |
119fc611 | 16 | description: 'Use specified sphinx-build for building document') |
5dc4618e PB |
17 | option('iasl', type : 'string', value : '', |
18 | description: 'Path to ACPI disassembler') | |
41f2ae28 PB |
19 | option('tls_priority', type : 'string', value : 'NORMAL', |
20 | description: 'Default TLS protocol/cipher priority string') | |
7bc3ca7f PB |
21 | option('default_devices', type : 'boolean', value : true, |
22 | description: 'Include a default selection of devices in emulators') | |
87430d5b PB |
23 | option('audio_drv_list', type: 'array', value: ['default'], |
24 | choices: ['alsa', 'coreaudio', 'default', 'dsound', 'jack', 'oss', 'pa', 'sdl'], | |
25 | description: 'Set audio driver list') | |
622d64ff PB |
26 | option('block_drv_rw_whitelist', type : 'string', value : '', |
27 | description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like qemu-img)') | |
28 | option('block_drv_ro_whitelist', type : 'string', value : '', | |
29 | description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like qemu-img)') | |
ce6119dc PB |
30 | option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M', |
31 | description: 'where to find shared libraries etc., use %M for cpu name') | |
537b7248 PB |
32 | option('fuzzing_engine', type : 'string', value : '', |
33 | description: 'fuzzing engine library for OSS-Fuzz') | |
9c29b741 PB |
34 | option('trace_file', type: 'string', value: 'trace', |
35 | description: 'Trace file prefix for simple backend') | |
87430d5b | 36 | |
3b4da132 PB |
37 | # Everything else can be set via --enable/--disable-* option |
38 | # on the configure script command line. After adding an option | |
39 | # here make sure to run "make update-buildoptions". | |
40 | ||
e3667660 YL |
41 | option('docs', type : 'feature', value : 'auto', |
42 | description: 'Documentations build support') | |
537b7248 PB |
43 | option('fuzzing', type : 'boolean', value: false, |
44 | description: 'build fuzzing targets') | |
0e8e77d4 | 45 | option('gettext', type : 'feature', value : 'auto', |
cb572714 | 46 | description: 'Localization of the GTK+ user interface') |
2cb2f580 PB |
47 | option('module_upgrades', type : 'boolean', value : false, |
48 | description: 'try to load modules from alternate paths for upgrades') | |
c8d5450b PB |
49 | option('install_blobs', type : 'boolean', value : true, |
50 | description: 'install provided firmware blobs') | |
deb62371 PB |
51 | option('sparse', type : 'feature', value : 'auto', |
52 | description: 'sparse checker') | |
20cf5cb4 PB |
53 | option('guest_agent', type : 'feature', value : 'auto', |
54 | description: 'Build QEMU Guest Agent') | |
b846ab7c PB |
55 | option('guest_agent_msi', type : 'feature', value : 'auto', |
56 | description: 'Build MSI package for the QEMU Guest Agent') | |
20cf5cb4 PB |
57 | option('tools', type : 'feature', value : 'auto', |
58 | description: 'build support utilities that come with QEMU') | |
8821a389 MAL |
59 | option('qga_vss', type : 'feature', value: 'auto', |
60 | description: 'build QGA VSS support (broken with MinGW)') | |
cb572714 | 61 | |
aa087962 PB |
62 | option('malloc_trim', type : 'feature', value : 'auto', |
63 | description: 'enable libc malloc_trim() for memory optimization') | |
64 | option('malloc', type : 'combo', choices : ['system', 'tcmalloc', 'jemalloc'], | |
65 | value: 'system', description: 'choose memory allocator to use') | |
66 | ||
1badb709 PB |
67 | option('kvm', type: 'feature', value: 'auto', |
68 | description: 'KVM acceleration support') | |
69 | option('hax', type: 'feature', value: 'auto', | |
70 | description: 'HAX acceleration support') | |
71 | option('whpx', type: 'feature', value: 'auto', | |
72 | description: 'WHPX acceleration support') | |
73 | option('hvf', type: 'feature', value: 'auto', | |
74 | description: 'HVF acceleration support') | |
74a414a1 RZ |
75 | option('nvmm', type: 'feature', value: 'auto', |
76 | description: 'NVMM acceleration support') | |
1badb709 PB |
77 | option('xen', type: 'feature', value: 'auto', |
78 | description: 'Xen backend support') | |
79 | option('xen_pci_passthrough', type: 'feature', value: 'auto', | |
80 | description: 'Xen PCI passthrough support') | |
0a31e3a0 | 81 | option('tcg', type: 'feature', value: 'enabled', |
1badb709 | 82 | description: 'TCG support') |
23a77b2d | 83 | option('tcg_interpreter', type: 'boolean', value: false, |
f1f727ac | 84 | description: 'TCG with bytecode interpreter (slow)') |
9e62ba48 DB |
85 | option('cfi', type: 'boolean', value: 'false', |
86 | description: 'Control-Flow Integrity (CFI)') | |
87 | option('cfi_debug', type: 'boolean', value: 'false', | |
88 | description: 'Verbose errors in case of CFI violation') | |
106ad1f9 PB |
89 | option('multiprocess', type: 'feature', value: 'auto', |
90 | description: 'Out of process device emulation support') | |
55116968 JR |
91 | option('vfio_user_server', type: 'feature', value: 'disabled', |
92 | description: 'vfio-user server support') | |
142ca628 MAL |
93 | option('dbus_display', type: 'feature', value: 'auto', |
94 | description: '-display dbus support') | |
0d04c4c9 PB |
95 | option('tpm', type : 'feature', value : 'auto', |
96 | description: 'TPM support') | |
b87df904 PB |
97 | |
98 | # Do not enable it by default even for Mingw32, because it doesn't | |
99 | # work on Wine. | |
100 | option('membarrier', type: 'feature', value: 'disabled', | |
101 | description: 'membarrier system call (for Linux 4.14+ or Windows') | |
102 | ||
622753d2 PB |
103 | option('avx2', type: 'feature', value: 'auto', |
104 | description: 'AVX2 optimizations') | |
105 | option('avx512f', type: 'feature', value: 'disabled', | |
106 | description: 'AVX512F optimizations') | |
2edd2c04 PB |
107 | option('keyring', type: 'feature', value: 'auto', |
108 | description: 'Linux keyring support') | |
1badb709 | 109 | |
f7f2d651 PB |
110 | option('attr', type : 'feature', value : 'auto', |
111 | description: 'attr/xattr support') | |
05e391ae PB |
112 | option('auth_pam', type : 'feature', value : 'auto', |
113 | description: 'PAM access control') | |
8c6d4ff4 PB |
114 | option('brlapi', type : 'feature', value : 'auto', |
115 | description: 'brlapi character device driver') | |
29ba6116 PB |
116 | option('bzip2', type : 'feature', value : 'auto', |
117 | description: 'bzip2 support for DMG images') | |
727c8bb8 PB |
118 | option('cap_ng', type : 'feature', value : 'auto', |
119 | description: 'cap_ng support') | |
46627f41 AM |
120 | option('bpf', type : 'feature', value : 'auto', |
121 | description: 'eBPF support') | |
b4e312e9 PB |
122 | option('cocoa', type : 'feature', value : 'auto', |
123 | description: 'Cocoa user interface (macOS only)') | |
f9cd86fe PB |
124 | option('curl', type : 'feature', value : 'auto', |
125 | description: 'CURL block device driver') | |
7544060e PB |
126 | option('gio', type : 'feature', value : 'auto', |
127 | description: 'use libgio for D-Bus support') | |
08821ca2 PB |
128 | option('glusterfs', type : 'feature', value : 'auto', |
129 | description: 'Glusterfs block device driver') | |
9db405a3 PB |
130 | option('libiscsi', type : 'feature', value : 'auto', |
131 | description: 'libiscsi userspace initiator') | |
30045c05 PB |
132 | option('libnfs', type : 'feature', value : 'auto', |
133 | description: 'libnfs block device driver') | |
6ec0e15d PB |
134 | option('mpath', type : 'feature', value : 'auto', |
135 | description: 'Multipath persistent reservation passthrough') | |
488a8c73 PB |
136 | option('numa', type : 'feature', value : 'auto', |
137 | description: 'libnuma support') | |
5285e593 YL |
138 | option('iconv', type : 'feature', value : 'auto', |
139 | description: 'Font glyph conversion support') | |
140 | option('curses', type : 'feature', value : 'auto', | |
141 | description: 'curses UI') | |
57612511 PB |
142 | option('gnutls', type : 'feature', value : 'auto', |
143 | description: 'GNUTLS cryptography support') | |
144 | option('nettle', type : 'feature', value : 'auto', | |
145 | description: 'nettle cryptography support') | |
146 | option('gcrypt', type : 'feature', value : 'auto', | |
147 | description: 'libgcrypt cryptography support') | |
34b52615 PB |
148 | option('crypto_afalg', type : 'feature', value : 'disabled', |
149 | description: 'Linux AF_ALG crypto backend driver') | |
83ef1682 PB |
150 | option('libdaxctl', type : 'feature', value : 'auto', |
151 | description: 'libdaxctl support') | |
e36e8c70 PB |
152 | option('libpmem', type : 'feature', value : 'auto', |
153 | description: 'libpmem support') | |
e6a52b36 TH |
154 | option('libssh', type : 'feature', value : 'auto', |
155 | description: 'ssh block device support') | |
5c53015a PB |
156 | option('libudev', type : 'feature', value : 'auto', |
157 | description: 'Use libudev to enumerate host devices') | |
90540f32 PB |
158 | option('libusb', type : 'feature', value : 'auto', |
159 | description: 'libusb support for USB passthrough') | |
ff66f3e5 PB |
160 | option('linux_aio', type : 'feature', value : 'auto', |
161 | description: 'Linux AIO support') | |
53c22b68 PB |
162 | option('linux_io_uring', type : 'feature', value : 'auto', |
163 | description: 'Linux io_uring support') | |
ecea3696 PB |
164 | option('lzfse', type : 'feature', value : 'auto', |
165 | description: 'lzfse support for DMG images') | |
0c32a0ae PB |
166 | option('lzo', type : 'feature', value : 'auto', |
167 | description: 'lzo compression support') | |
fabd1e93 PB |
168 | option('rbd', type : 'feature', value : 'auto', |
169 | description: 'Ceph block device driver') | |
88b6e618 PB |
170 | option('opengl', type : 'feature', value : 'auto', |
171 | description: 'OpenGL support') | |
3730a734 PB |
172 | option('rdma', type : 'feature', value : 'auto', |
173 | description: 'Enable RDMA-based migration') | |
174 | option('pvrdma', type : 'feature', value : 'auto', | |
175 | description: 'Enable PVRDMA support') | |
1b695471 PB |
176 | option('gtk', type : 'feature', value : 'auto', |
177 | description: 'GTK+ user interface') | |
cb572714 PB |
178 | option('sdl', type : 'feature', value : 'auto', |
179 | description: 'SDL user interface') | |
180 | option('sdl_image', type : 'feature', value : 'auto', | |
181 | description: 'SDL Image support for icons') | |
90835c2b PB |
182 | option('seccomp', type : 'feature', value : 'auto', |
183 | description: 'seccomp support') | |
5f364c57 PB |
184 | option('smartcard', type : 'feature', value : 'auto', |
185 | description: 'CA smartcard emulation support') | |
241611ea PB |
186 | option('snappy', type : 'feature', value : 'auto', |
187 | description: 'snappy compression support') | |
3f0a5d55 MAL |
188 | option('spice', type : 'feature', value : 'auto', |
189 | description: 'Spice server support') | |
190 | option('spice_protocol', type : 'feature', value : 'auto', | |
191 | description: 'Spice protocol support') | |
cb572714 PB |
192 | option('u2f', type : 'feature', value : 'auto', |
193 | description: 'U2F emulation support') | |
8caef850 HZZ |
194 | option('canokey', type : 'feature', value : 'auto', |
195 | description: 'CanoKey support') | |
18f31e60 PB |
196 | option('usb_redir', type : 'feature', value : 'auto', |
197 | description: 'libusbredir support') | |
eea9453a TH |
198 | option('l2tpv3', type : 'feature', value : 'auto', |
199 | description: 'l2tpv3 network backend support') | |
837b84b1 PB |
200 | option('netmap', type : 'feature', value : 'auto', |
201 | description: 'netmap network backend support') | |
e1723999 PB |
202 | option('vde', type : 'feature', value : 'auto', |
203 | description: 'vde network backend support') | |
e2c1d78d VY |
204 | option('vmnet', type : 'feature', value : 'auto', |
205 | description: 'vmnet.framework network backend support') | |
587d59d6 PB |
206 | option('virglrenderer', type : 'feature', value : 'auto', |
207 | description: 'virgl rendering support') | |
95f8510e KS |
208 | option('png', type : 'feature', value : 'auto', |
209 | description: 'PNG support with libpng') | |
c1de5858 | 210 | option('vnc', type : 'feature', value : 'auto', |
cb572714 PB |
211 | description: 'VNC server') |
212 | option('vnc_jpeg', type : 'feature', value : 'auto', | |
213 | description: 'JPEG lossy compression for VNC server') | |
cb572714 PB |
214 | option('vnc_sasl', type : 'feature', value : 'auto', |
215 | description: 'SASL authentication for VNC server') | |
c23d7b4e PB |
216 | option('vte', type : 'feature', value : 'auto', |
217 | description: 'vte support for the gtk UI') | |
cb572714 PB |
218 | option('xkbcommon', type : 'feature', value : 'auto', |
219 | description: 'xkbcommon support') | |
b1def33d PB |
220 | option('zstd', type : 'feature', value : 'auto', |
221 | description: 'zstd compression support') | |
a484a719 HR |
222 | option('fuse', type: 'feature', value: 'auto', |
223 | description: 'FUSE block device export') | |
df4ea709 HR |
224 | option('fuse_lseek', type : 'feature', value : 'auto', |
225 | description: 'SEEK_HOLE/SEEK_DATA support for FUSE exports') | |
8b18cdbf | 226 | |
9c29b741 PB |
227 | option('trace_backends', type: 'array', value: ['log'], |
228 | choices: ['dtrace', 'ftrace', 'log', 'nop', 'simple', 'syslog', 'ust'], | |
229 | description: 'Set available tracing backends') | |
230 | ||
87430d5b PB |
231 | option('alsa', type: 'feature', value: 'auto', |
232 | description: 'ALSA sound support') | |
233 | option('coreaudio', type: 'feature', value: 'auto', | |
234 | description: 'CoreAudio sound support') | |
235 | option('dsound', type: 'feature', value: 'auto', | |
236 | description: 'DirectSound sound support') | |
237 | option('jack', type: 'feature', value: 'auto', | |
238 | description: 'JACK sound support') | |
239 | option('oss', type: 'feature', value: 'auto', | |
240 | description: 'OSS sound support') | |
241 | option('pa', type: 'feature', value: 'auto', | |
242 | description: 'PulseAudio sound support') | |
243 | ||
2df89d54 PB |
244 | option('vhost_kernel', type: 'feature', value: 'auto', |
245 | description: 'vhost kernel backend support') | |
246 | option('vhost_net', type: 'feature', value: 'auto', | |
247 | description: 'vhost-net kernel acceleration support') | |
248 | option('vhost_user', type: 'feature', value: 'auto', | |
249 | description: 'vhost-user backend support') | |
250 | option('vhost_crypto', type: 'feature', value: 'auto', | |
251 | description: 'vhost-user crypto backend support') | |
252 | option('vhost_vdpa', type: 'feature', value: 'auto', | |
253 | description: 'vhost-vdpa kernel backend support') | |
69202b40 PB |
254 | option('vhost_user_blk_server', type: 'feature', value: 'auto', |
255 | description: 'build vhost-user-blk server') | |
256 | option('virtfs', type: 'feature', value: 'auto', | |
257 | description: 'virtio-9p support') | |
258 | option('virtiofsd', type: 'feature', value: 'auto', | |
259 | description: 'build virtiofs daemon (virtiofsd)') | |
260 | ||
83602083 | 261 | option('capstone', type: 'feature', value: 'auto', |
8b18cdbf | 262 | description: 'Whether and how to find the capstone library') |
4d34a86b PB |
263 | option('slirp', type: 'combo', value: 'auto', |
264 | choices: ['disabled', 'enabled', 'auto', 'system', 'internal'], | |
265 | description: 'Whether and how to find the slirp library') | |
fbb4121d PB |
266 | option('fdt', type: 'combo', value: 'auto', |
267 | choices: ['disabled', 'enabled', 'auto', 'system', 'internal'], | |
268 | description: 'Whether and how to find the libfdt library') | |
3d212b41 RJ |
269 | |
270 | option('selinux', type: 'feature', value: 'auto', | |
271 | description: 'SELinux support in qemu-nbd') | |
406523f6 PB |
272 | option('live_block_migration', type: 'feature', value: 'auto', |
273 | description: 'block migration in the main migration stream') | |
274 | option('replication', type: 'feature', value: 'auto', | |
275 | description: 'replication support') | |
ed793c2c PB |
276 | option('bochs', type: 'feature', value: 'auto', |
277 | description: 'bochs image format support') | |
278 | option('cloop', type: 'feature', value: 'auto', | |
279 | description: 'cloop image format support') | |
280 | option('dmg', type: 'feature', value: 'auto', | |
281 | description: 'dmg image format support') | |
282 | option('qcow1', type: 'feature', value: 'auto', | |
283 | description: 'qcow1 image format support') | |
284 | option('vdi', type: 'feature', value: 'auto', | |
285 | description: 'vdi image format support') | |
286 | option('vvfat', type: 'feature', value: 'auto', | |
287 | description: 'vvfat image format support') | |
288 | option('qed', type: 'feature', value: 'auto', | |
289 | description: 'qed image format support') | |
290 | option('parallels', type: 'feature', value: 'auto', | |
291 | description: 'parallels image format support') | |
c55cf6ab PB |
292 | option('block_drv_whitelist_in_tools', type: 'boolean', value: false, |
293 | description: 'use block whitelist also in tools instead of only QEMU') | |
294 | option('rng_none', type: 'boolean', value: false, | |
295 | description: 'dummy RNG, avoid using /dev/(u)random and getrandom()') | |
728c0a2f PB |
296 | option('coroutine_pool', type: 'boolean', value: true, |
297 | description: 'coroutine freelist (better performance)') | |
c55cf6ab PB |
298 | option('debug_mutex', type: 'boolean', value: false, |
299 | description: 'mutex debugging support') | |
728c0a2f PB |
300 | option('debug_stack_usage', type: 'boolean', value: false, |
301 | description: 'measure coroutine stack usage') | |
c55cf6ab PB |
302 | option('qom_cast_debug', type: 'boolean', value: false, |
303 | description: 'cast debugging support') | |
304 | option('gprof', type: 'boolean', value: false, | |
305 | description: 'QEMU profiling with gprof') | |
306 | option('profiler', type: 'boolean', value: false, | |
307 | description: 'profiler support') | |
35acbb30 PB |
308 | option('slirp_smbd', type : 'feature', value : 'auto', |
309 | description: 'use smbd (at path --smbd=*) in slirp networking') |