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