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