xref: /openbmc/qemu/meson_options.txt (revision 932a8d1f)
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('xen', type: 'feature', value: 'auto',
37       description: 'Xen backend support')
38option('xen_pci_passthrough', type: 'feature', value: 'auto',
39       description: 'Xen PCI passthrough support')
40option('tcg', type: 'feature', value: 'auto',
41       description: 'TCG support')
42option('tcg_interpreter', type: 'boolean', value: false,
43       description: 'TCG with bytecode interpreter (experimental and slow)')
44option('cfi', type: 'boolean', value: 'false',
45       description: 'Control-Flow Integrity (CFI)')
46option('cfi_debug', type: 'boolean', value: 'false',
47       description: 'Verbose errors in case of CFI violation')
48
49option('attr', type : 'feature', value : 'auto',
50       description: 'attr/xattr support')
51option('brlapi', type : 'feature', value : 'auto',
52       description: 'brlapi character device driver')
53option('bzip2', type : 'feature', value : 'auto',
54       description: 'bzip2 support for DMG images')
55option('cap_ng', type : 'feature', value : 'auto',
56       description: 'cap_ng support')
57option('cocoa', type : 'feature', value : 'auto',
58       description: 'Cocoa user interface (macOS only)')
59option('curl', type : 'feature', value : 'auto',
60       description: 'CURL block device driver')
61option('glusterfs', type : 'feature', value : 'auto',
62       description: 'Glusterfs block device driver')
63option('libiscsi', type : 'feature', value : 'auto',
64       description: 'libiscsi userspace initiator')
65option('libnfs', type : 'feature', value : 'auto',
66       description: 'libnfs block device driver')
67option('mpath', type : 'feature', value : 'auto',
68       description: 'Multipath persistent reservation passthrough')
69option('iconv', type : 'feature', value : 'auto',
70       description: 'Font glyph conversion support')
71option('curses', type : 'feature', value : 'auto',
72       description: 'curses UI')
73option('libudev', type : 'feature', value : 'auto',
74       description: 'Use libudev to enumerate host devices')
75option('lzfse', type : 'feature', value : 'auto',
76       description: 'lzfse support for DMG images')
77option('lzo', type : 'feature', value : 'auto',
78       description: 'lzo compression support')
79option('rbd', type : 'feature', value : 'auto',
80       description: 'Ceph block device driver')
81option('gtk', type : 'feature', value : 'auto',
82       description: 'GTK+ user interface')
83option('sdl', type : 'feature', value : 'auto',
84       description: 'SDL user interface')
85option('sdl_image', type : 'feature', value : 'auto',
86       description: 'SDL Image support for icons')
87option('seccomp', type : 'feature', value : 'auto',
88       description: 'seccomp support')
89option('snappy', type : 'feature', value : 'auto',
90       description: 'snappy compression support')
91option('u2f', type : 'feature', value : 'auto',
92       description: 'U2F emulation support')
93option('vnc', type : 'feature', value : 'enabled',
94       description: 'VNC server')
95option('vnc_jpeg', type : 'feature', value : 'auto',
96       description: 'JPEG lossy compression for VNC server')
97option('vnc_png', type : 'feature', value : 'auto',
98       description: 'PNG compression for VNC server')
99option('vnc_sasl', type : 'feature', value : 'auto',
100       description: 'SASL authentication for VNC server')
101option('xkbcommon', type : 'feature', value : 'auto',
102       description: 'xkbcommon support')
103option('zstd', type : 'feature', value : 'auto',
104       description: 'zstd compression support')
105option('fuse', type: 'feature', value: 'auto',
106       description: 'FUSE block device export')
107option('fuse_lseek', type : 'feature', value : 'auto',
108       description: 'SEEK_HOLE/SEEK_DATA support for FUSE exports')
109
110option('vhost_user_blk_server', type: 'feature', value: 'auto',
111       description: 'build vhost-user-blk server')
112option('virtfs', type: 'feature', value: 'auto',
113       description: 'virtio-9p support')
114option('virtiofsd', type: 'feature', value: 'auto',
115       description: 'build virtiofs daemon (virtiofsd)')
116
117option('capstone', type: 'combo', value: 'auto',
118       choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
119       description: 'Whether and how to find the capstone library')
120option('slirp', type: 'combo', value: 'auto',
121       choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
122       description: 'Whether and how to find the slirp library')
123option('fdt', type: 'combo', value: 'auto',
124       choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
125       description: 'Whether and how to find the libfdt library')
126