]>
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)') |
491e74c1 MAL |
7 | option('docdir', type : 'string', value : 'doc', |
8 | description: 'Base directory for documentation installation (can be empty)') | |
16bf7a33 PB |
9 | option('qemu_firmwarepath', type : 'string', value : '', |
10 | description: 'search PATH for firmware files') | |
e3667660 YL |
11 | option('sphinx_build', type : 'string', value : '', |
12 | description: 'Use specified sphinx-build [$sphinx_build] for building document (default to be empty)') | |
7bc3ca7f PB |
13 | option('default_devices', type : 'boolean', value : true, |
14 | description: 'Include a default selection of devices in emulators') | |
87430d5b PB |
15 | option('audio_drv_list', type: 'array', value: ['default'], |
16 | choices: ['alsa', 'coreaudio', 'default', 'dsound', 'jack', 'oss', 'pa', 'sdl'], | |
17 | description: 'Set audio driver list') | |
537b7248 PB |
18 | option('fuzzing_engine', type : 'string', value : '', |
19 | description: 'fuzzing engine library for OSS-Fuzz') | |
9c29b741 PB |
20 | option('trace_file', type: 'string', value: 'trace', |
21 | description: 'Trace file prefix for simple backend') | |
87430d5b | 22 | |
3b4da132 PB |
23 | # Everything else can be set via --enable/--disable-* option |
24 | # on the configure script command line. After adding an option | |
25 | # here make sure to run "make update-buildoptions". | |
26 | ||
e3667660 YL |
27 | option('docs', type : 'feature', value : 'auto', |
28 | description: 'Documentations build support') | |
537b7248 PB |
29 | option('fuzzing', type : 'boolean', value: false, |
30 | description: 'build fuzzing targets') | |
0e8e77d4 | 31 | option('gettext', type : 'feature', value : 'auto', |
cb572714 | 32 | description: 'Localization of the GTK+ user interface') |
c8d5450b PB |
33 | option('install_blobs', type : 'boolean', value : true, |
34 | description: 'install provided firmware blobs') | |
deb62371 PB |
35 | option('sparse', type : 'feature', value : 'auto', |
36 | description: 'sparse checker') | |
b846ab7c PB |
37 | option('guest_agent_msi', type : 'feature', value : 'auto', |
38 | description: 'Build MSI package for the QEMU Guest Agent') | |
cb572714 | 39 | |
aa087962 PB |
40 | option('malloc_trim', type : 'feature', value : 'auto', |
41 | description: 'enable libc malloc_trim() for memory optimization') | |
42 | option('malloc', type : 'combo', choices : ['system', 'tcmalloc', 'jemalloc'], | |
43 | value: 'system', description: 'choose memory allocator to use') | |
44 | ||
1badb709 PB |
45 | option('kvm', type: 'feature', value: 'auto', |
46 | description: 'KVM acceleration support') | |
47 | option('hax', type: 'feature', value: 'auto', | |
48 | description: 'HAX acceleration support') | |
49 | option('whpx', type: 'feature', value: 'auto', | |
50 | description: 'WHPX acceleration support') | |
51 | option('hvf', type: 'feature', value: 'auto', | |
52 | description: 'HVF acceleration support') | |
74a414a1 RZ |
53 | option('nvmm', type: 'feature', value: 'auto', |
54 | description: 'NVMM acceleration support') | |
1badb709 PB |
55 | option('xen', type: 'feature', value: 'auto', |
56 | description: 'Xen backend support') | |
57 | option('xen_pci_passthrough', type: 'feature', value: 'auto', | |
58 | description: 'Xen PCI passthrough support') | |
59 | option('tcg', type: 'feature', value: 'auto', | |
60 | description: 'TCG support') | |
23a77b2d | 61 | option('tcg_interpreter', type: 'boolean', value: false, |
e9a16e38 | 62 | description: 'TCG with bytecode interpreter (experimental and slow)') |
9e62ba48 DB |
63 | option('cfi', type: 'boolean', value: 'false', |
64 | description: 'Control-Flow Integrity (CFI)') | |
65 | option('cfi_debug', type: 'boolean', value: 'false', | |
66 | description: 'Verbose errors in case of CFI violation') | |
106ad1f9 PB |
67 | option('multiprocess', type: 'feature', value: 'auto', |
68 | description: 'Out of process device emulation support') | |
1badb709 | 69 | |
f7f2d651 PB |
70 | option('attr', type : 'feature', value : 'auto', |
71 | description: 'attr/xattr support') | |
05e391ae PB |
72 | option('auth_pam', type : 'feature', value : 'auto', |
73 | description: 'PAM access control') | |
8c6d4ff4 PB |
74 | option('brlapi', type : 'feature', value : 'auto', |
75 | description: 'brlapi character device driver') | |
29ba6116 PB |
76 | option('bzip2', type : 'feature', value : 'auto', |
77 | description: 'bzip2 support for DMG images') | |
727c8bb8 PB |
78 | option('cap_ng', type : 'feature', value : 'auto', |
79 | description: 'cap_ng support') | |
46627f41 AM |
80 | option('bpf', type : 'feature', value : 'auto', |
81 | description: 'eBPF support') | |
b4e312e9 PB |
82 | option('cocoa', type : 'feature', value : 'auto', |
83 | description: 'Cocoa user interface (macOS only)') | |
f9cd86fe PB |
84 | option('curl', type : 'feature', value : 'auto', |
85 | description: 'CURL block device driver') | |
08821ca2 PB |
86 | option('glusterfs', type : 'feature', value : 'auto', |
87 | description: 'Glusterfs block device driver') | |
9db405a3 PB |
88 | option('libiscsi', type : 'feature', value : 'auto', |
89 | description: 'libiscsi userspace initiator') | |
30045c05 PB |
90 | option('libnfs', type : 'feature', value : 'auto', |
91 | description: 'libnfs block device driver') | |
6ec0e15d PB |
92 | option('mpath', type : 'feature', value : 'auto', |
93 | description: 'Multipath persistent reservation passthrough') | |
5285e593 YL |
94 | option('iconv', type : 'feature', value : 'auto', |
95 | description: 'Font glyph conversion support') | |
96 | option('curses', type : 'feature', value : 'auto', | |
97 | description: 'curses UI') | |
57612511 PB |
98 | option('gnutls', type : 'feature', value : 'auto', |
99 | description: 'GNUTLS cryptography support') | |
100 | option('nettle', type : 'feature', value : 'auto', | |
101 | description: 'nettle cryptography support') | |
102 | option('gcrypt', type : 'feature', value : 'auto', | |
103 | description: 'libgcrypt cryptography support') | |
83ef1682 PB |
104 | option('libdaxctl', type : 'feature', value : 'auto', |
105 | description: 'libdaxctl support') | |
e36e8c70 PB |
106 | option('libpmem', type : 'feature', value : 'auto', |
107 | description: 'libpmem support') | |
5c53015a PB |
108 | option('libudev', type : 'feature', value : 'auto', |
109 | description: 'Use libudev to enumerate host devices') | |
90540f32 PB |
110 | option('libusb', type : 'feature', value : 'auto', |
111 | description: 'libusb support for USB passthrough') | |
c5b36c25 PB |
112 | option('libxml2', type : 'feature', value : 'auto', |
113 | description: 'libxml2 support for Parallels image format') | |
ff66f3e5 PB |
114 | option('linux_aio', type : 'feature', value : 'auto', |
115 | description: 'Linux AIO support') | |
53c22b68 PB |
116 | option('linux_io_uring', type : 'feature', value : 'auto', |
117 | description: 'Linux io_uring support') | |
ecea3696 PB |
118 | option('lzfse', type : 'feature', value : 'auto', |
119 | description: 'lzfse support for DMG images') | |
0c32a0ae PB |
120 | option('lzo', type : 'feature', value : 'auto', |
121 | description: 'lzo compression support') | |
fabd1e93 PB |
122 | option('rbd', type : 'feature', value : 'auto', |
123 | description: 'Ceph block device driver') | |
1b695471 PB |
124 | option('gtk', type : 'feature', value : 'auto', |
125 | description: 'GTK+ user interface') | |
cb572714 PB |
126 | option('sdl', type : 'feature', value : 'auto', |
127 | description: 'SDL user interface') | |
128 | option('sdl_image', type : 'feature', value : 'auto', | |
129 | description: 'SDL Image support for icons') | |
90835c2b PB |
130 | option('seccomp', type : 'feature', value : 'auto', |
131 | description: 'seccomp support') | |
5f364c57 PB |
132 | option('smartcard', type : 'feature', value : 'auto', |
133 | description: 'CA smartcard emulation support') | |
241611ea PB |
134 | option('snappy', type : 'feature', value : 'auto', |
135 | description: 'snappy compression support') | |
3f0a5d55 MAL |
136 | option('spice', type : 'feature', value : 'auto', |
137 | description: 'Spice server support') | |
138 | option('spice_protocol', type : 'feature', value : 'auto', | |
139 | description: 'Spice protocol support') | |
cb572714 PB |
140 | option('u2f', type : 'feature', value : 'auto', |
141 | description: 'U2F emulation support') | |
18f31e60 PB |
142 | option('usb_redir', type : 'feature', value : 'auto', |
143 | description: 'libusbredir support') | |
837b84b1 PB |
144 | option('netmap', type : 'feature', value : 'auto', |
145 | description: 'netmap network backend support') | |
e1723999 PB |
146 | option('vde', type : 'feature', value : 'auto', |
147 | description: 'vde network backend support') | |
587d59d6 PB |
148 | option('virglrenderer', type : 'feature', value : 'auto', |
149 | description: 'virgl rendering support') | |
c1de5858 | 150 | option('vnc', type : 'feature', value : 'auto', |
cb572714 PB |
151 | description: 'VNC server') |
152 | option('vnc_jpeg', type : 'feature', value : 'auto', | |
153 | description: 'JPEG lossy compression for VNC server') | |
154 | option('vnc_png', type : 'feature', value : 'auto', | |
155 | description: 'PNG compression for VNC server') | |
156 | option('vnc_sasl', type : 'feature', value : 'auto', | |
157 | description: 'SASL authentication for VNC server') | |
c23d7b4e PB |
158 | option('vte', type : 'feature', value : 'auto', |
159 | description: 'vte support for the gtk UI') | |
cb572714 PB |
160 | option('xkbcommon', type : 'feature', value : 'auto', |
161 | description: 'xkbcommon support') | |
b1def33d PB |
162 | option('zstd', type : 'feature', value : 'auto', |
163 | description: 'zstd compression support') | |
a484a719 HR |
164 | option('fuse', type: 'feature', value: 'auto', |
165 | description: 'FUSE block device export') | |
df4ea709 HR |
166 | option('fuse_lseek', type : 'feature', value : 'auto', |
167 | description: 'SEEK_HOLE/SEEK_DATA support for FUSE exports') | |
8b18cdbf | 168 | |
9c29b741 PB |
169 | option('trace_backends', type: 'array', value: ['log'], |
170 | choices: ['dtrace', 'ftrace', 'log', 'nop', 'simple', 'syslog', 'ust'], | |
171 | description: 'Set available tracing backends') | |
172 | ||
87430d5b PB |
173 | option('alsa', type: 'feature', value: 'auto', |
174 | description: 'ALSA sound support') | |
175 | option('coreaudio', type: 'feature', value: 'auto', | |
176 | description: 'CoreAudio sound support') | |
177 | option('dsound', type: 'feature', value: 'auto', | |
178 | description: 'DirectSound sound support') | |
179 | option('jack', type: 'feature', value: 'auto', | |
180 | description: 'JACK sound support') | |
181 | option('oss', type: 'feature', value: 'auto', | |
182 | description: 'OSS sound support') | |
183 | option('pa', type: 'feature', value: 'auto', | |
184 | description: 'PulseAudio sound support') | |
185 | ||
69202b40 PB |
186 | option('vhost_user_blk_server', type: 'feature', value: 'auto', |
187 | description: 'build vhost-user-blk server') | |
188 | option('virtfs', type: 'feature', value: 'auto', | |
189 | description: 'virtio-9p support') | |
190 | option('virtiofsd', type: 'feature', value: 'auto', | |
191 | description: 'build virtiofs daemon (virtiofsd)') | |
192 | ||
8b18cdbf RH |
193 | option('capstone', type: 'combo', value: 'auto', |
194 | choices: ['disabled', 'enabled', 'auto', 'system', 'internal'], | |
195 | description: 'Whether and how to find the capstone library') | |
4d34a86b PB |
196 | option('slirp', type: 'combo', value: 'auto', |
197 | choices: ['disabled', 'enabled', 'auto', 'system', 'internal'], | |
198 | description: 'Whether and how to find the slirp library') | |
fbb4121d PB |
199 | option('fdt', type: 'combo', value: 'auto', |
200 | choices: ['disabled', 'enabled', 'auto', 'system', 'internal'], | |
201 | description: 'Whether and how to find the libfdt library') |