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