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