OSDN Git Service

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