1# This file is generated by meson-buildoptions.py, do not edit! 2meson_options_help() { 3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices:' 4 printf "%s\n" ' alsa/coreaudio/default/dsound/jack/oss/pa/sdl)' 5 printf "%s\n" ' --block-drv-ro-whitelist=VALUE' 6 printf "%s\n" ' set block driver read-only whitelist (by default' 7 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 8 printf "%s\n" ' --block-drv-rw-whitelist=VALUE' 9 printf "%s\n" ' set block driver read-write whitelist (by default' 10 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 11 printf "%s\n" ' --datadir=VALUE Data file directory [share]' 12 printf "%s\n" ' --disable-coroutine-pool coroutine freelist (better performance)' 13 printf "%s\n" ' --disable-install-blobs install provided firmware blobs' 14 printf "%s\n" ' --docdir=VALUE Base directory for documentation installation' 15 printf "%s\n" ' (can be empty) [share/doc]' 16 printf "%s\n" ' --enable-block-drv-whitelist-in-tools' 17 printf "%s\n" ' use block whitelist also in tools instead of only' 18 printf "%s\n" ' QEMU' 19 printf "%s\n" ' --enable-cfi Control-Flow Integrity (CFI)' 20 printf "%s\n" ' --enable-cfi-debug Verbose errors in case of CFI violation' 21 printf "%s\n" ' --enable-debug-mutex mutex debugging support' 22 printf "%s\n" ' --enable-debug-stack-usage' 23 printf "%s\n" ' measure coroutine stack usage' 24 printf "%s\n" ' --enable-fdt[=CHOICE] Whether and how to find the libfdt library' 25 printf "%s\n" ' (choices: auto/disabled/enabled/internal/system)' 26 printf "%s\n" ' --enable-fuzzing build fuzzing targets' 27 printf "%s\n" ' --enable-gcov Enable coverage tracking.' 28 printf "%s\n" ' --enable-gprof QEMU profiling with gprof' 29 printf "%s\n" ' --enable-lto Use link time optimization' 30 printf "%s\n" ' --enable-malloc=CHOICE choose memory allocator to use [system] (choices:' 31 printf "%s\n" ' jemalloc/system/tcmalloc)' 32 printf "%s\n" ' --enable-module-upgrades try to load modules from alternate paths for' 33 printf "%s\n" ' upgrades' 34 printf "%s\n" ' --enable-profiler profiler support' 35 printf "%s\n" ' --enable-qom-cast-debug cast debugging support' 36 printf "%s\n" ' --enable-rng-none dummy RNG, avoid using /dev/(u)random and' 37 printf "%s\n" ' getrandom()' 38 printf "%s\n" ' --enable-slirp[=CHOICE] Whether and how to find the slirp library' 39 printf "%s\n" ' (choices: auto/disabled/enabled/internal/system)' 40 printf "%s\n" ' --enable-strip Strip targets on install' 41 printf "%s\n" ' --enable-tcg-interpreter TCG with bytecode interpreter (slow)' 42 printf "%s\n" ' --enable-trace-backends=CHOICES' 43 printf "%s\n" ' Set available tracing backends [log] (choices:' 44 printf "%s\n" ' dtrace/ftrace/log/nop/simple/syslog/ust)' 45 printf "%s\n" ' --firmwarepath=VALUE search PATH for firmware files [qemu-firmware]' 46 printf "%s\n" ' --iasl=VALUE Path to ACPI disassembler' 47 printf "%s\n" ' --includedir=VALUE Header file directory [include]' 48 printf "%s\n" ' --interp-prefix=VALUE where to find shared libraries etc., use %M for' 49 printf "%s\n" ' cpu name [/usr/gnemul/qemu-%M]' 50 printf "%s\n" ' --libdir=VALUE Library directory [lib64]' 51 printf "%s\n" ' --libexecdir=VALUE Library executable directory [libexec]' 52 printf "%s\n" ' --localedir=VALUE Locale data directory [share/locale]' 53 printf "%s\n" ' --localstatedir=VALUE Localstate data directory [/var/local]' 54 printf "%s\n" ' --mandir=VALUE Manual page directory [share/man]' 55 printf "%s\n" ' --sphinx-build=VALUE Use specified sphinx-build for building document' 56 printf "%s\n" ' --sysconfdir=VALUE Sysconf data directory [etc]' 57 printf "%s\n" ' --tls-priority=VALUE Default TLS protocol/cipher priority string' 58 printf "%s\n" ' [NORMAL]' 59 printf "%s\n" ' --with-pkgversion=VALUE use specified string as sub-version of the' 60 printf "%s\n" ' package' 61 printf "%s\n" ' --with-trace-file=VALUE Trace file prefix for simple backend [trace]' 62 printf "%s\n" '' 63 printf "%s\n" 'Optional features, enabled with --enable-FEATURE and' 64 printf "%s\n" 'disabled with --disable-FEATURE, default is enabled if available' 65 printf "%s\n" '(unless built with --without-default-features):' 66 printf "%s\n" '' 67 printf "%s\n" ' alsa ALSA sound support' 68 printf "%s\n" ' attr attr/xattr support' 69 printf "%s\n" ' auth-pam PAM access control' 70 printf "%s\n" ' avx2 AVX2 optimizations' 71 printf "%s\n" ' avx512f AVX512F optimizations' 72 printf "%s\n" ' bochs bochs image format support' 73 printf "%s\n" ' bpf eBPF support' 74 printf "%s\n" ' brlapi brlapi character device driver' 75 printf "%s\n" ' bzip2 bzip2 support for DMG images' 76 printf "%s\n" ' canokey CanoKey support' 77 printf "%s\n" ' cap-ng cap_ng support' 78 printf "%s\n" ' capstone Whether and how to find the capstone library' 79 printf "%s\n" ' cloop cloop image format support' 80 printf "%s\n" ' cocoa Cocoa user interface (macOS only)' 81 printf "%s\n" ' coreaudio CoreAudio sound support' 82 printf "%s\n" ' crypto-afalg Linux AF_ALG crypto backend driver' 83 printf "%s\n" ' curl CURL block device driver' 84 printf "%s\n" ' curses curses UI' 85 printf "%s\n" ' dbus-display -display dbus support' 86 printf "%s\n" ' dmg dmg image format support' 87 printf "%s\n" ' docs Documentations build support' 88 printf "%s\n" ' dsound DirectSound sound support' 89 printf "%s\n" ' fuse FUSE block device export' 90 printf "%s\n" ' fuse-lseek SEEK_HOLE/SEEK_DATA support for FUSE exports' 91 printf "%s\n" ' gcrypt libgcrypt cryptography support' 92 printf "%s\n" ' gettext Localization of the GTK+ user interface' 93 printf "%s\n" ' gio use libgio for D-Bus support' 94 printf "%s\n" ' glusterfs Glusterfs block device driver' 95 printf "%s\n" ' gnutls GNUTLS cryptography support' 96 printf "%s\n" ' gtk GTK+ user interface' 97 printf "%s\n" ' guest-agent Build QEMU Guest Agent' 98 printf "%s\n" ' guest-agent-msi Build MSI package for the QEMU Guest Agent' 99 printf "%s\n" ' hax HAX acceleration support' 100 printf "%s\n" ' hvf HVF acceleration support' 101 printf "%s\n" ' iconv Font glyph conversion support' 102 printf "%s\n" ' jack JACK sound support' 103 printf "%s\n" ' keyring Linux keyring support' 104 printf "%s\n" ' kvm KVM acceleration support' 105 printf "%s\n" ' l2tpv3 l2tpv3 network backend support' 106 printf "%s\n" ' libdaxctl libdaxctl support' 107 printf "%s\n" ' libiscsi libiscsi userspace initiator' 108 printf "%s\n" ' libnfs libnfs block device driver' 109 printf "%s\n" ' libpmem libpmem support' 110 printf "%s\n" ' libssh ssh block device support' 111 printf "%s\n" ' libudev Use libudev to enumerate host devices' 112 printf "%s\n" ' libusb libusb support for USB passthrough' 113 printf "%s\n" ' libvduse build VDUSE Library' 114 printf "%s\n" ' linux-aio Linux AIO support' 115 printf "%s\n" ' linux-io-uring Linux io_uring support' 116 printf "%s\n" ' live-block-migration' 117 printf "%s\n" ' block migration in the main migration stream' 118 printf "%s\n" ' lzfse lzfse support for DMG images' 119 printf "%s\n" ' lzo lzo compression support' 120 printf "%s\n" ' malloc-trim enable libc malloc_trim() for memory optimization' 121 printf "%s\n" ' membarrier membarrier system call (for Linux 4.14+ or Windows' 122 printf "%s\n" ' mpath Multipath persistent reservation passthrough' 123 printf "%s\n" ' multiprocess Out of process device emulation support' 124 printf "%s\n" ' netmap netmap network backend support' 125 printf "%s\n" ' nettle nettle cryptography support' 126 printf "%s\n" ' numa libnuma support' 127 printf "%s\n" ' nvmm NVMM acceleration support' 128 printf "%s\n" ' opengl OpenGL support' 129 printf "%s\n" ' oss OSS sound support' 130 printf "%s\n" ' pa PulseAudio sound support' 131 printf "%s\n" ' parallels parallels image format support' 132 printf "%s\n" ' png PNG support with libpng' 133 printf "%s\n" ' pvrdma Enable PVRDMA support' 134 printf "%s\n" ' qcow1 qcow1 image format support' 135 printf "%s\n" ' qed qed image format support' 136 printf "%s\n" ' qga-vss build QGA VSS support (broken with MinGW)' 137 printf "%s\n" ' rbd Ceph block device driver' 138 printf "%s\n" ' rdma Enable RDMA-based migration' 139 printf "%s\n" ' replication replication support' 140 printf "%s\n" ' sdl SDL user interface' 141 printf "%s\n" ' sdl-image SDL Image support for icons' 142 printf "%s\n" ' seccomp seccomp support' 143 printf "%s\n" ' selinux SELinux support in qemu-nbd' 144 printf "%s\n" ' slirp-smbd use smbd (at path --smbd=*) in slirp networking' 145 printf "%s\n" ' smartcard CA smartcard emulation support' 146 printf "%s\n" ' snappy snappy compression support' 147 printf "%s\n" ' sparse sparse checker' 148 printf "%s\n" ' spice Spice server support' 149 printf "%s\n" ' spice-protocol Spice protocol support' 150 printf "%s\n" ' tcg TCG support' 151 printf "%s\n" ' tools build support utilities that come with QEMU' 152 printf "%s\n" ' tpm TPM support' 153 printf "%s\n" ' u2f U2F emulation support' 154 printf "%s\n" ' usb-redir libusbredir support' 155 printf "%s\n" ' vde vde network backend support' 156 printf "%s\n" ' vdi vdi image format support' 157 printf "%s\n" ' vfio-user-server' 158 printf "%s\n" ' vfio-user server support' 159 printf "%s\n" ' vhost-crypto vhost-user crypto backend support' 160 printf "%s\n" ' vhost-kernel vhost kernel backend support' 161 printf "%s\n" ' vhost-net vhost-net kernel acceleration support' 162 printf "%s\n" ' vhost-user vhost-user backend support' 163 printf "%s\n" ' vhost-user-blk-server' 164 printf "%s\n" ' build vhost-user-blk server' 165 printf "%s\n" ' vhost-vdpa vhost-vdpa kernel backend support' 166 printf "%s\n" ' virglrenderer virgl rendering support' 167 printf "%s\n" ' virtfs virtio-9p support' 168 printf "%s\n" ' virtiofsd build virtiofs daemon (virtiofsd)' 169 printf "%s\n" ' vmnet vmnet.framework network backend support' 170 printf "%s\n" ' vnc VNC server' 171 printf "%s\n" ' vnc-jpeg JPEG lossy compression for VNC server' 172 printf "%s\n" ' vnc-sasl SASL authentication for VNC server' 173 printf "%s\n" ' vte vte support for the gtk UI' 174 printf "%s\n" ' vvfat vvfat image format support' 175 printf "%s\n" ' whpx WHPX acceleration support' 176 printf "%s\n" ' xen Xen backend support' 177 printf "%s\n" ' xen-pci-passthrough' 178 printf "%s\n" ' Xen PCI passthrough support' 179 printf "%s\n" ' xkbcommon xkbcommon support' 180 printf "%s\n" ' zstd zstd compression support' 181} 182_meson_option_parse() { 183 case $1 in 184 --enable-alsa) printf "%s" -Dalsa=enabled ;; 185 --disable-alsa) printf "%s" -Dalsa=disabled ;; 186 --enable-attr) printf "%s" -Dattr=enabled ;; 187 --disable-attr) printf "%s" -Dattr=disabled ;; 188 --audio-drv-list=*) quote_sh "-Daudio_drv_list=$2" ;; 189 --enable-auth-pam) printf "%s" -Dauth_pam=enabled ;; 190 --disable-auth-pam) printf "%s" -Dauth_pam=disabled ;; 191 --enable-avx2) printf "%s" -Davx2=enabled ;; 192 --disable-avx2) printf "%s" -Davx2=disabled ;; 193 --enable-avx512f) printf "%s" -Davx512f=enabled ;; 194 --disable-avx512f) printf "%s" -Davx512f=disabled ;; 195 --enable-gcov) printf "%s" -Db_coverage=true ;; 196 --disable-gcov) printf "%s" -Db_coverage=false ;; 197 --enable-lto) printf "%s" -Db_lto=true ;; 198 --disable-lto) printf "%s" -Db_lto=false ;; 199 --block-drv-ro-whitelist=*) quote_sh "-Dblock_drv_ro_whitelist=$2" ;; 200 --block-drv-rw-whitelist=*) quote_sh "-Dblock_drv_rw_whitelist=$2" ;; 201 --enable-block-drv-whitelist-in-tools) printf "%s" -Dblock_drv_whitelist_in_tools=true ;; 202 --disable-block-drv-whitelist-in-tools) printf "%s" -Dblock_drv_whitelist_in_tools=false ;; 203 --enable-bochs) printf "%s" -Dbochs=enabled ;; 204 --disable-bochs) printf "%s" -Dbochs=disabled ;; 205 --enable-bpf) printf "%s" -Dbpf=enabled ;; 206 --disable-bpf) printf "%s" -Dbpf=disabled ;; 207 --enable-brlapi) printf "%s" -Dbrlapi=enabled ;; 208 --disable-brlapi) printf "%s" -Dbrlapi=disabled ;; 209 --enable-bzip2) printf "%s" -Dbzip2=enabled ;; 210 --disable-bzip2) printf "%s" -Dbzip2=disabled ;; 211 --enable-canokey) printf "%s" -Dcanokey=enabled ;; 212 --disable-canokey) printf "%s" -Dcanokey=disabled ;; 213 --enable-cap-ng) printf "%s" -Dcap_ng=enabled ;; 214 --disable-cap-ng) printf "%s" -Dcap_ng=disabled ;; 215 --enable-capstone) printf "%s" -Dcapstone=enabled ;; 216 --disable-capstone) printf "%s" -Dcapstone=disabled ;; 217 --enable-cfi) printf "%s" -Dcfi=true ;; 218 --disable-cfi) printf "%s" -Dcfi=false ;; 219 --enable-cfi-debug) printf "%s" -Dcfi_debug=true ;; 220 --disable-cfi-debug) printf "%s" -Dcfi_debug=false ;; 221 --enable-cloop) printf "%s" -Dcloop=enabled ;; 222 --disable-cloop) printf "%s" -Dcloop=disabled ;; 223 --enable-cocoa) printf "%s" -Dcocoa=enabled ;; 224 --disable-cocoa) printf "%s" -Dcocoa=disabled ;; 225 --enable-coreaudio) printf "%s" -Dcoreaudio=enabled ;; 226 --disable-coreaudio) printf "%s" -Dcoreaudio=disabled ;; 227 --enable-coroutine-pool) printf "%s" -Dcoroutine_pool=true ;; 228 --disable-coroutine-pool) printf "%s" -Dcoroutine_pool=false ;; 229 --enable-crypto-afalg) printf "%s" -Dcrypto_afalg=enabled ;; 230 --disable-crypto-afalg) printf "%s" -Dcrypto_afalg=disabled ;; 231 --enable-curl) printf "%s" -Dcurl=enabled ;; 232 --disable-curl) printf "%s" -Dcurl=disabled ;; 233 --enable-curses) printf "%s" -Dcurses=enabled ;; 234 --disable-curses) printf "%s" -Dcurses=disabled ;; 235 --datadir=*) quote_sh "-Ddatadir=$2" ;; 236 --enable-dbus-display) printf "%s" -Ddbus_display=enabled ;; 237 --disable-dbus-display) printf "%s" -Ddbus_display=disabled ;; 238 --enable-debug-mutex) printf "%s" -Ddebug_mutex=true ;; 239 --disable-debug-mutex) printf "%s" -Ddebug_mutex=false ;; 240 --enable-debug-stack-usage) printf "%s" -Ddebug_stack_usage=true ;; 241 --disable-debug-stack-usage) printf "%s" -Ddebug_stack_usage=false ;; 242 --enable-dmg) printf "%s" -Ddmg=enabled ;; 243 --disable-dmg) printf "%s" -Ddmg=disabled ;; 244 --docdir=*) quote_sh "-Ddocdir=$2" ;; 245 --enable-docs) printf "%s" -Ddocs=enabled ;; 246 --disable-docs) printf "%s" -Ddocs=disabled ;; 247 --enable-dsound) printf "%s" -Ddsound=enabled ;; 248 --disable-dsound) printf "%s" -Ddsound=disabled ;; 249 --enable-fdt) printf "%s" -Dfdt=enabled ;; 250 --disable-fdt) printf "%s" -Dfdt=disabled ;; 251 --enable-fdt=*) quote_sh "-Dfdt=$2" ;; 252 --enable-fuse) printf "%s" -Dfuse=enabled ;; 253 --disable-fuse) printf "%s" -Dfuse=disabled ;; 254 --enable-fuse-lseek) printf "%s" -Dfuse_lseek=enabled ;; 255 --disable-fuse-lseek) printf "%s" -Dfuse_lseek=disabled ;; 256 --enable-fuzzing) printf "%s" -Dfuzzing=true ;; 257 --disable-fuzzing) printf "%s" -Dfuzzing=false ;; 258 --enable-gcrypt) printf "%s" -Dgcrypt=enabled ;; 259 --disable-gcrypt) printf "%s" -Dgcrypt=disabled ;; 260 --enable-gettext) printf "%s" -Dgettext=enabled ;; 261 --disable-gettext) printf "%s" -Dgettext=disabled ;; 262 --enable-gio) printf "%s" -Dgio=enabled ;; 263 --disable-gio) printf "%s" -Dgio=disabled ;; 264 --enable-glusterfs) printf "%s" -Dglusterfs=enabled ;; 265 --disable-glusterfs) printf "%s" -Dglusterfs=disabled ;; 266 --enable-gnutls) printf "%s" -Dgnutls=enabled ;; 267 --disable-gnutls) printf "%s" -Dgnutls=disabled ;; 268 --enable-gprof) printf "%s" -Dgprof=true ;; 269 --disable-gprof) printf "%s" -Dgprof=false ;; 270 --enable-gtk) printf "%s" -Dgtk=enabled ;; 271 --disable-gtk) printf "%s" -Dgtk=disabled ;; 272 --enable-guest-agent) printf "%s" -Dguest_agent=enabled ;; 273 --disable-guest-agent) printf "%s" -Dguest_agent=disabled ;; 274 --enable-guest-agent-msi) printf "%s" -Dguest_agent_msi=enabled ;; 275 --disable-guest-agent-msi) printf "%s" -Dguest_agent_msi=disabled ;; 276 --enable-hax) printf "%s" -Dhax=enabled ;; 277 --disable-hax) printf "%s" -Dhax=disabled ;; 278 --enable-hvf) printf "%s" -Dhvf=enabled ;; 279 --disable-hvf) printf "%s" -Dhvf=disabled ;; 280 --iasl=*) quote_sh "-Diasl=$2" ;; 281 --enable-iconv) printf "%s" -Diconv=enabled ;; 282 --disable-iconv) printf "%s" -Diconv=disabled ;; 283 --includedir=*) quote_sh "-Dincludedir=$2" ;; 284 --enable-install-blobs) printf "%s" -Dinstall_blobs=true ;; 285 --disable-install-blobs) printf "%s" -Dinstall_blobs=false ;; 286 --interp-prefix=*) quote_sh "-Dinterp_prefix=$2" ;; 287 --enable-jack) printf "%s" -Djack=enabled ;; 288 --disable-jack) printf "%s" -Djack=disabled ;; 289 --enable-keyring) printf "%s" -Dkeyring=enabled ;; 290 --disable-keyring) printf "%s" -Dkeyring=disabled ;; 291 --enable-kvm) printf "%s" -Dkvm=enabled ;; 292 --disable-kvm) printf "%s" -Dkvm=disabled ;; 293 --enable-l2tpv3) printf "%s" -Dl2tpv3=enabled ;; 294 --disable-l2tpv3) printf "%s" -Dl2tpv3=disabled ;; 295 --enable-libdaxctl) printf "%s" -Dlibdaxctl=enabled ;; 296 --disable-libdaxctl) printf "%s" -Dlibdaxctl=disabled ;; 297 --libdir=*) quote_sh "-Dlibdir=$2" ;; 298 --libexecdir=*) quote_sh "-Dlibexecdir=$2" ;; 299 --enable-libiscsi) printf "%s" -Dlibiscsi=enabled ;; 300 --disable-libiscsi) printf "%s" -Dlibiscsi=disabled ;; 301 --enable-libnfs) printf "%s" -Dlibnfs=enabled ;; 302 --disable-libnfs) printf "%s" -Dlibnfs=disabled ;; 303 --enable-libpmem) printf "%s" -Dlibpmem=enabled ;; 304 --disable-libpmem) printf "%s" -Dlibpmem=disabled ;; 305 --enable-libssh) printf "%s" -Dlibssh=enabled ;; 306 --disable-libssh) printf "%s" -Dlibssh=disabled ;; 307 --enable-libudev) printf "%s" -Dlibudev=enabled ;; 308 --disable-libudev) printf "%s" -Dlibudev=disabled ;; 309 --enable-libusb) printf "%s" -Dlibusb=enabled ;; 310 --disable-libusb) printf "%s" -Dlibusb=disabled ;; 311 --enable-libvduse) printf "%s" -Dlibvduse=enabled ;; 312 --disable-libvduse) printf "%s" -Dlibvduse=disabled ;; 313 --enable-linux-aio) printf "%s" -Dlinux_aio=enabled ;; 314 --disable-linux-aio) printf "%s" -Dlinux_aio=disabled ;; 315 --enable-linux-io-uring) printf "%s" -Dlinux_io_uring=enabled ;; 316 --disable-linux-io-uring) printf "%s" -Dlinux_io_uring=disabled ;; 317 --enable-live-block-migration) printf "%s" -Dlive_block_migration=enabled ;; 318 --disable-live-block-migration) printf "%s" -Dlive_block_migration=disabled ;; 319 --localedir=*) quote_sh "-Dlocaledir=$2" ;; 320 --localstatedir=*) quote_sh "-Dlocalstatedir=$2" ;; 321 --enable-lzfse) printf "%s" -Dlzfse=enabled ;; 322 --disable-lzfse) printf "%s" -Dlzfse=disabled ;; 323 --enable-lzo) printf "%s" -Dlzo=enabled ;; 324 --disable-lzo) printf "%s" -Dlzo=disabled ;; 325 --enable-malloc=*) quote_sh "-Dmalloc=$2" ;; 326 --enable-malloc-trim) printf "%s" -Dmalloc_trim=enabled ;; 327 --disable-malloc-trim) printf "%s" -Dmalloc_trim=disabled ;; 328 --mandir=*) quote_sh "-Dmandir=$2" ;; 329 --enable-membarrier) printf "%s" -Dmembarrier=enabled ;; 330 --disable-membarrier) printf "%s" -Dmembarrier=disabled ;; 331 --enable-module-upgrades) printf "%s" -Dmodule_upgrades=true ;; 332 --disable-module-upgrades) printf "%s" -Dmodule_upgrades=false ;; 333 --enable-mpath) printf "%s" -Dmpath=enabled ;; 334 --disable-mpath) printf "%s" -Dmpath=disabled ;; 335 --enable-multiprocess) printf "%s" -Dmultiprocess=enabled ;; 336 --disable-multiprocess) printf "%s" -Dmultiprocess=disabled ;; 337 --enable-netmap) printf "%s" -Dnetmap=enabled ;; 338 --disable-netmap) printf "%s" -Dnetmap=disabled ;; 339 --enable-nettle) printf "%s" -Dnettle=enabled ;; 340 --disable-nettle) printf "%s" -Dnettle=disabled ;; 341 --enable-numa) printf "%s" -Dnuma=enabled ;; 342 --disable-numa) printf "%s" -Dnuma=disabled ;; 343 --enable-nvmm) printf "%s" -Dnvmm=enabled ;; 344 --disable-nvmm) printf "%s" -Dnvmm=disabled ;; 345 --enable-opengl) printf "%s" -Dopengl=enabled ;; 346 --disable-opengl) printf "%s" -Dopengl=disabled ;; 347 --enable-oss) printf "%s" -Doss=enabled ;; 348 --disable-oss) printf "%s" -Doss=disabled ;; 349 --enable-pa) printf "%s" -Dpa=enabled ;; 350 --disable-pa) printf "%s" -Dpa=disabled ;; 351 --enable-parallels) printf "%s" -Dparallels=enabled ;; 352 --disable-parallels) printf "%s" -Dparallels=disabled ;; 353 --with-pkgversion=*) quote_sh "-Dpkgversion=$2" ;; 354 --enable-png) printf "%s" -Dpng=enabled ;; 355 --disable-png) printf "%s" -Dpng=disabled ;; 356 --enable-profiler) printf "%s" -Dprofiler=true ;; 357 --disable-profiler) printf "%s" -Dprofiler=false ;; 358 --enable-pvrdma) printf "%s" -Dpvrdma=enabled ;; 359 --disable-pvrdma) printf "%s" -Dpvrdma=disabled ;; 360 --enable-qcow1) printf "%s" -Dqcow1=enabled ;; 361 --disable-qcow1) printf "%s" -Dqcow1=disabled ;; 362 --enable-qed) printf "%s" -Dqed=enabled ;; 363 --disable-qed) printf "%s" -Dqed=disabled ;; 364 --firmwarepath=*) quote_sh "-Dqemu_firmwarepath=$2" ;; 365 --enable-qga-vss) printf "%s" -Dqga_vss=enabled ;; 366 --disable-qga-vss) printf "%s" -Dqga_vss=disabled ;; 367 --enable-qom-cast-debug) printf "%s" -Dqom_cast_debug=true ;; 368 --disable-qom-cast-debug) printf "%s" -Dqom_cast_debug=false ;; 369 --enable-rbd) printf "%s" -Drbd=enabled ;; 370 --disable-rbd) printf "%s" -Drbd=disabled ;; 371 --enable-rdma) printf "%s" -Drdma=enabled ;; 372 --disable-rdma) printf "%s" -Drdma=disabled ;; 373 --enable-replication) printf "%s" -Dreplication=enabled ;; 374 --disable-replication) printf "%s" -Dreplication=disabled ;; 375 --enable-rng-none) printf "%s" -Drng_none=true ;; 376 --disable-rng-none) printf "%s" -Drng_none=false ;; 377 --enable-sdl) printf "%s" -Dsdl=enabled ;; 378 --disable-sdl) printf "%s" -Dsdl=disabled ;; 379 --enable-sdl-image) printf "%s" -Dsdl_image=enabled ;; 380 --disable-sdl-image) printf "%s" -Dsdl_image=disabled ;; 381 --enable-seccomp) printf "%s" -Dseccomp=enabled ;; 382 --disable-seccomp) printf "%s" -Dseccomp=disabled ;; 383 --enable-selinux) printf "%s" -Dselinux=enabled ;; 384 --disable-selinux) printf "%s" -Dselinux=disabled ;; 385 --enable-slirp) printf "%s" -Dslirp=enabled ;; 386 --disable-slirp) printf "%s" -Dslirp=disabled ;; 387 --enable-slirp=*) quote_sh "-Dslirp=$2" ;; 388 --enable-slirp-smbd) printf "%s" -Dslirp_smbd=enabled ;; 389 --disable-slirp-smbd) printf "%s" -Dslirp_smbd=disabled ;; 390 --enable-smartcard) printf "%s" -Dsmartcard=enabled ;; 391 --disable-smartcard) printf "%s" -Dsmartcard=disabled ;; 392 --enable-snappy) printf "%s" -Dsnappy=enabled ;; 393 --disable-snappy) printf "%s" -Dsnappy=disabled ;; 394 --enable-sparse) printf "%s" -Dsparse=enabled ;; 395 --disable-sparse) printf "%s" -Dsparse=disabled ;; 396 --sphinx-build=*) quote_sh "-Dsphinx_build=$2" ;; 397 --enable-spice) printf "%s" -Dspice=enabled ;; 398 --disable-spice) printf "%s" -Dspice=disabled ;; 399 --enable-spice-protocol) printf "%s" -Dspice_protocol=enabled ;; 400 --disable-spice-protocol) printf "%s" -Dspice_protocol=disabled ;; 401 --enable-strip) printf "%s" -Dstrip=true ;; 402 --disable-strip) printf "%s" -Dstrip=false ;; 403 --sysconfdir=*) quote_sh "-Dsysconfdir=$2" ;; 404 --enable-tcg) printf "%s" -Dtcg=enabled ;; 405 --disable-tcg) printf "%s" -Dtcg=disabled ;; 406 --enable-tcg-interpreter) printf "%s" -Dtcg_interpreter=true ;; 407 --disable-tcg-interpreter) printf "%s" -Dtcg_interpreter=false ;; 408 --tls-priority=*) quote_sh "-Dtls_priority=$2" ;; 409 --enable-tools) printf "%s" -Dtools=enabled ;; 410 --disable-tools) printf "%s" -Dtools=disabled ;; 411 --enable-tpm) printf "%s" -Dtpm=enabled ;; 412 --disable-tpm) printf "%s" -Dtpm=disabled ;; 413 --enable-trace-backends=*) quote_sh "-Dtrace_backends=$2" ;; 414 --with-trace-file=*) quote_sh "-Dtrace_file=$2" ;; 415 --enable-u2f) printf "%s" -Du2f=enabled ;; 416 --disable-u2f) printf "%s" -Du2f=disabled ;; 417 --enable-usb-redir) printf "%s" -Dusb_redir=enabled ;; 418 --disable-usb-redir) printf "%s" -Dusb_redir=disabled ;; 419 --enable-vde) printf "%s" -Dvde=enabled ;; 420 --disable-vde) printf "%s" -Dvde=disabled ;; 421 --enable-vdi) printf "%s" -Dvdi=enabled ;; 422 --disable-vdi) printf "%s" -Dvdi=disabled ;; 423 --enable-vfio-user-server) printf "%s" -Dvfio_user_server=enabled ;; 424 --disable-vfio-user-server) printf "%s" -Dvfio_user_server=disabled ;; 425 --enable-vhost-crypto) printf "%s" -Dvhost_crypto=enabled ;; 426 --disable-vhost-crypto) printf "%s" -Dvhost_crypto=disabled ;; 427 --enable-vhost-kernel) printf "%s" -Dvhost_kernel=enabled ;; 428 --disable-vhost-kernel) printf "%s" -Dvhost_kernel=disabled ;; 429 --enable-vhost-net) printf "%s" -Dvhost_net=enabled ;; 430 --disable-vhost-net) printf "%s" -Dvhost_net=disabled ;; 431 --enable-vhost-user) printf "%s" -Dvhost_user=enabled ;; 432 --disable-vhost-user) printf "%s" -Dvhost_user=disabled ;; 433 --enable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=enabled ;; 434 --disable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=disabled ;; 435 --enable-vhost-vdpa) printf "%s" -Dvhost_vdpa=enabled ;; 436 --disable-vhost-vdpa) printf "%s" -Dvhost_vdpa=disabled ;; 437 --enable-virglrenderer) printf "%s" -Dvirglrenderer=enabled ;; 438 --disable-virglrenderer) printf "%s" -Dvirglrenderer=disabled ;; 439 --enable-virtfs) printf "%s" -Dvirtfs=enabled ;; 440 --disable-virtfs) printf "%s" -Dvirtfs=disabled ;; 441 --enable-virtiofsd) printf "%s" -Dvirtiofsd=enabled ;; 442 --disable-virtiofsd) printf "%s" -Dvirtiofsd=disabled ;; 443 --enable-vmnet) printf "%s" -Dvmnet=enabled ;; 444 --disable-vmnet) printf "%s" -Dvmnet=disabled ;; 445 --enable-vnc) printf "%s" -Dvnc=enabled ;; 446 --disable-vnc) printf "%s" -Dvnc=disabled ;; 447 --enable-vnc-jpeg) printf "%s" -Dvnc_jpeg=enabled ;; 448 --disable-vnc-jpeg) printf "%s" -Dvnc_jpeg=disabled ;; 449 --enable-vnc-sasl) printf "%s" -Dvnc_sasl=enabled ;; 450 --disable-vnc-sasl) printf "%s" -Dvnc_sasl=disabled ;; 451 --enable-vte) printf "%s" -Dvte=enabled ;; 452 --disable-vte) printf "%s" -Dvte=disabled ;; 453 --enable-vvfat) printf "%s" -Dvvfat=enabled ;; 454 --disable-vvfat) printf "%s" -Dvvfat=disabled ;; 455 --enable-whpx) printf "%s" -Dwhpx=enabled ;; 456 --disable-whpx) printf "%s" -Dwhpx=disabled ;; 457 --enable-xen) printf "%s" -Dxen=enabled ;; 458 --disable-xen) printf "%s" -Dxen=disabled ;; 459 --enable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=enabled ;; 460 --disable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=disabled ;; 461 --enable-xkbcommon) printf "%s" -Dxkbcommon=enabled ;; 462 --disable-xkbcommon) printf "%s" -Dxkbcommon=disabled ;; 463 --enable-zstd) printf "%s" -Dzstd=enabled ;; 464 --disable-zstd) printf "%s" -Dzstd=disabled ;; 465 *) return 1 ;; 466 esac 467} 468