xref: /qemu/meson_options.txt (revision 0955d66e)
1option('qemu_suffix', type : 'string', value: 'qemu',
2       description: 'Suffix for QEMU data/modules/config directories (can be empty)')
3option('docdir', type : 'string', value : 'doc',
4       description: 'Base directory for documentation installation (can be empty)')
5option('qemu_firmwarepath', type : 'string', value : '',
6       description: 'search PATH for firmware files')
7option('sphinx_build', type : 'string', value : '',
8       description: 'Use specified sphinx-build [$sphinx_build] for building document (default to be empty)')
9option('default_devices', type : 'boolean', value : true,
10       description: 'Include a default selection of devices in emulators')
11option('audio_drv_list', type: 'array', value: ['default'],
12       choices: ['alsa', 'coreaudio', 'default', 'dsound', 'jack', 'oss', 'pa', 'sdl'],
13       description: 'Set audio driver list')
14option('fuzzing_engine', type : 'string', value : '',
15       description: 'fuzzing engine library for OSS-Fuzz')
16
17option('docs', type : 'feature', value : 'auto',
18       description: 'Documentations build support')
19option('fuzzing', type : 'boolean', value: false,
20       description: 'build fuzzing targets')
21option('gettext', type : 'feature', value : 'auto',
22       description: 'Localization of the GTK+ user interface')
23option('install_blobs', type : 'boolean', value : true,
24       description: 'install provided firmware blobs')
25option('sparse', type : 'feature', value : 'auto',
26       description: 'sparse checker')
27option('guest_agent_msi', type : 'feature', value : 'auto',
28       description: 'Build MSI package for the QEMU Guest Agent')
29
30option('malloc_trim', type : 'feature', value : 'auto',
31       description: 'enable libc malloc_trim() for memory optimization')
32option('malloc', type : 'combo', choices : ['system', 'tcmalloc', 'jemalloc'],
33       value: 'system', description: 'choose memory allocator to use')
34
35option('kvm', type: 'feature', value: 'auto',
36       description: 'KVM acceleration support')
37option('hax', type: 'feature', value: 'auto',
38       description: 'HAX acceleration support')
39option('whpx', type: 'feature', value: 'auto',
40       description: 'WHPX acceleration support')
41option('hvf', type: 'feature', value: 'auto',
42       description: 'HVF acceleration support')
43option('nvmm', type: 'feature', value: 'auto',
44       description: 'NVMM acceleration support')
45option('xen', type: 'feature', value: 'auto',
46       description: 'Xen backend support')
47option('xen_pci_passthrough', type: 'feature', value: 'auto',
48       description: 'Xen PCI passthrough support')
49option('tcg', type: 'feature', value: 'auto',
50       description: 'TCG support')
51option('tcg_interpreter', type: 'boolean', value: false,
52       description: 'TCG with bytecode interpreter (experimental and slow)')
53option('cfi', type: 'boolean', value: 'false',
54       description: 'Control-Flow Integrity (CFI)')
55option('cfi_debug', type: 'boolean', value: 'false',
56       description: 'Verbose errors in case of CFI violation')
57option('multiprocess', type: 'feature', value: 'auto',
58       description: 'Out of process device emulation support')
59
60option('attr', type : 'feature', value : 'auto',
61       description: 'attr/xattr support')
62option('auth_pam', type : 'feature', value : 'auto',
63       description: 'PAM access control')
64option('brlapi', type : 'feature', value : 'auto',
65       description: 'brlapi character device driver')
66option('bzip2', type : 'feature', value : 'auto',
67       description: 'bzip2 support for DMG images')
68option('cap_ng', type : 'feature', value : 'auto',
69       description: 'cap_ng support')
70option('bpf', type : 'feature', value : 'auto',
71        description: 'eBPF support')
72option('cocoa', type : 'feature', value : 'auto',
73       description: 'Cocoa user interface (macOS only)')
74option('curl', type : 'feature', value : 'auto',
75       description: 'CURL block device driver')
76option('glusterfs', type : 'feature', value : 'auto',
77       description: 'Glusterfs block device driver')
78option('libiscsi', type : 'feature', value : 'auto',
79       description: 'libiscsi userspace initiator')
80option('libnfs', type : 'feature', value : 'auto',
81       description: 'libnfs block device driver')
82option('mpath', type : 'feature', value : 'auto',
83       description: 'Multipath persistent reservation passthrough')
84option('iconv', type : 'feature', value : 'auto',
85       description: 'Font glyph conversion support')
86option('curses', type : 'feature', value : 'auto',
87       description: 'curses UI')
88option('gnutls', type : 'feature', value : 'auto',
89       description: 'GNUTLS cryptography support')
90option('nettle', type : 'feature', value : 'auto',
91       description: 'nettle cryptography support')
92option('gcrypt', type : 'feature', value : 'auto',
93       description: 'libgcrypt cryptography support')
94option('libdaxctl', type : 'feature', value : 'auto',
95       description: 'libdaxctl support')
96option('libpmem', type : 'feature', value : 'auto',
97       description: 'libpmem support')
98option('libudev', type : 'feature', value : 'auto',
99       description: 'Use libudev to enumerate host devices')
100option('libusb', type : 'feature', value : 'auto',
101       description: 'libusb support for USB passthrough')
102option('libxml2', type : 'feature', value : 'auto',
103       description: 'libxml2 support for Parallels image format')
104option('linux_io_uring', type : 'feature', value : 'auto',
105       description: 'Linux io_uring support')
106option('lzfse', type : 'feature', value : 'auto',
107       description: 'lzfse support for DMG images')
108option('lzo', type : 'feature', value : 'auto',
109       description: 'lzo compression support')
110option('rbd', type : 'feature', value : 'auto',
111       description: 'Ceph block device driver')
112option('gtk', type : 'feature', value : 'auto',
113       description: 'GTK+ user interface')
114option('sdl', type : 'feature', value : 'auto',
115       description: 'SDL user interface')
116option('sdl_image', type : 'feature', value : 'auto',
117       description: 'SDL Image support for icons')
118option('seccomp', type : 'feature', value : 'auto',
119       description: 'seccomp support')
120option('smartcard', type : 'feature', value : 'auto',
121       description: 'CA smartcard emulation support')
122option('snappy', type : 'feature', value : 'auto',
123       description: 'snappy compression support')
124option('u2f', type : 'feature', value : 'auto',
125       description: 'U2F emulation support')
126option('usb_redir', type : 'feature', value : 'auto',
127       description: 'libusbredir support')
128option('virglrenderer', type : 'feature', value : 'auto',
129       description: 'virgl rendering support')
130option('vnc', type : 'feature', value : 'auto',
131       description: 'VNC server')
132option('vnc_jpeg', type : 'feature', value : 'auto',
133       description: 'JPEG lossy compression for VNC server')
134option('vnc_png', type : 'feature', value : 'auto',
135       description: 'PNG compression for VNC server')
136option('vnc_sasl', type : 'feature', value : 'auto',
137       description: 'SASL authentication for VNC server')
138option('vte', type : 'feature', value : 'auto',
139       description: 'vte support for the gtk UI')
140option('xkbcommon', type : 'feature', value : 'auto',
141       description: 'xkbcommon support')
142option('zstd', type : 'feature', value : 'auto',
143       description: 'zstd compression support')
144option('fuse', type: 'feature', value: 'auto',
145       description: 'FUSE block device export')
146option('fuse_lseek', type : 'feature', value : 'auto',
147       description: 'SEEK_HOLE/SEEK_DATA support for FUSE exports')
148
149option('alsa', type: 'feature', value: 'auto',
150       description: 'ALSA sound support')
151option('coreaudio', type: 'feature', value: 'auto',
152       description: 'CoreAudio sound support')
153option('dsound', type: 'feature', value: 'auto',
154       description: 'DirectSound sound support')
155option('jack', type: 'feature', value: 'auto',
156       description: 'JACK sound support')
157option('oss', type: 'feature', value: 'auto',
158       description: 'OSS sound support')
159option('pa', type: 'feature', value: 'auto',
160       description: 'PulseAudio sound support')
161
162option('vhost_user_blk_server', type: 'feature', value: 'auto',
163       description: 'build vhost-user-blk server')
164option('virtfs', type: 'feature', value: 'auto',
165       description: 'virtio-9p support')
166option('virtiofsd', type: 'feature', value: 'auto',
167       description: 'build virtiofs daemon (virtiofsd)')
168
169option('capstone', type: 'combo', value: 'auto',
170       choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
171       description: 'Whether and how to find the capstone library')
172option('slirp', type: 'combo', value: 'auto',
173       choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
174       description: 'Whether and how to find the slirp library')
175option('fdt', type: 'combo', value: 'auto',
176       choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
177       description: 'Whether and how to find the libfdt library')
178