meson.build (1b4a5a20daab8fe787dd8cef1c13973d44a0bcf0) | meson.build (0d9e8c0b670b7856d36ed155d43548d2491230e7) |
---|---|
1project('qemu', ['c'], meson_version: '>=0.63.0', 2 default_options: ['warning_level=1', 'c_std=gnu11', 'cpp_std=gnu++11', 'b_colorout=auto', 3 'b_staticpic=false', 'stdsplit=false', 'optimization=2', 'b_pie=true'], 4 version: files('VERSION')) 5 6add_test_setup('quick', exclude_suites: ['slow', 'thorough'], is_default: true) 7add_test_setup('slow', exclude_suites: ['thorough'], env: ['G_TEST_SLOW=1', 'SPEED=slow']) 8add_test_setup('thorough', env: ['G_TEST_SLOW=1', 'SPEED=thorough']) --- 1309 unchanged lines hidden (view full) --- 1318 glfs_io_cbk iocb = &glusterfs_iocb; 1319 iocb(NULL, 0 , NULL, NULL, NULL); 1320 return 0; 1321 } 1322 ''', dependencies: glusterfs) 1323 endif 1324endif 1325 | 1project('qemu', ['c'], meson_version: '>=0.63.0', 2 default_options: ['warning_level=1', 'c_std=gnu11', 'cpp_std=gnu++11', 'b_colorout=auto', 3 'b_staticpic=false', 'stdsplit=false', 'optimization=2', 'b_pie=true'], 4 version: files('VERSION')) 5 6add_test_setup('quick', exclude_suites: ['slow', 'thorough'], is_default: true) 7add_test_setup('slow', exclude_suites: ['thorough'], env: ['G_TEST_SLOW=1', 'SPEED=slow']) 8add_test_setup('thorough', env: ['G_TEST_SLOW=1', 'SPEED=thorough']) --- 1309 unchanged lines hidden (view full) --- 1318 glfs_io_cbk iocb = &glusterfs_iocb; 1319 iocb(NULL, 0 , NULL, NULL, NULL); 1320 return 0; 1321 } 1322 ''', dependencies: glusterfs) 1323 endif 1324endif 1325 |
1326hv_balloon = false 1327if get_option('hv_balloon').allowed() and have_system 1328 if cc.links(''' 1329 #include <string.h> 1330 #include <gmodule.h> 1331 int main(void) { 1332 GTree *tree; 1333 1334 tree = g_tree_new((GCompareFunc)strcmp); 1335 (void)g_tree_node_first(tree); 1336 g_tree_destroy(tree); 1337 return 0; 1338 } 1339 ''', dependencies: glib) 1340 hv_balloon = true 1341 else 1342 if get_option('hv_balloon').enabled() 1343 error('could not enable hv-balloon, update your glib') 1344 else 1345 warning('could not find glib support for hv-balloon, disabling') 1346 endif 1347 endif 1348endif 1349 |
|
1326libssh = not_found 1327if not get_option('libssh').auto() or have_block 1328 libssh = dependency('libssh', version: '>=0.8.7', 1329 method: 'pkg-config', 1330 required: get_option('libssh')) 1331endif 1332 1333libbzip2 = not_found --- 1516 unchanged lines hidden (view full) --- 2850 (x11.found() ? ['CONFIG_X11=y'] : []) + \ 2851 (have_vhost_user ? ['CONFIG_VHOST_USER=y'] : []) + \ 2852 (have_vhost_vdpa ? ['CONFIG_VHOST_VDPA=y'] : []) + \ 2853 (have_vhost_kernel ? ['CONFIG_VHOST_KERNEL=y'] : []) + \ 2854 (have_virtfs ? ['CONFIG_VIRTFS=y'] : []) + \ 2855 (targetos == 'linux' ? ['CONFIG_LINUX=y'] : []) + \ 2856 (have_pvrdma ? ['CONFIG_PVRDMA=y'] : []) + \ 2857 (multiprocess_allowed ? ['CONFIG_MULTIPROCESS_ALLOWED=y'] : []) + \ | 1350libssh = not_found 1351if not get_option('libssh').auto() or have_block 1352 libssh = dependency('libssh', version: '>=0.8.7', 1353 method: 'pkg-config', 1354 required: get_option('libssh')) 1355endif 1356 1357libbzip2 = not_found --- 1516 unchanged lines hidden (view full) --- 2874 (x11.found() ? ['CONFIG_X11=y'] : []) + \ 2875 (have_vhost_user ? ['CONFIG_VHOST_USER=y'] : []) + \ 2876 (have_vhost_vdpa ? ['CONFIG_VHOST_VDPA=y'] : []) + \ 2877 (have_vhost_kernel ? ['CONFIG_VHOST_KERNEL=y'] : []) + \ 2878 (have_virtfs ? ['CONFIG_VIRTFS=y'] : []) + \ 2879 (targetos == 'linux' ? ['CONFIG_LINUX=y'] : []) + \ 2880 (have_pvrdma ? ['CONFIG_PVRDMA=y'] : []) + \ 2881 (multiprocess_allowed ? ['CONFIG_MULTIPROCESS_ALLOWED=y'] : []) + \ |
2858 (vfio_user_server_allowed ? ['CONFIG_VFIO_USER_SERVER_ALLOWED=y'] : []) | 2882 (vfio_user_server_allowed ? ['CONFIG_VFIO_USER_SERVER_ALLOWED=y'] : []) + \ 2883 (hv_balloon ? ['CONFIG_HV_BALLOON_POSSIBLE=y'] : []) |
2859 2860ignored = [ 'TARGET_XML_FILES', 'TARGET_ABI_DIR', 'TARGET_ARCH' ] 2861 2862default_targets = 'CONFIG_DEFAULT_TARGETS' in config_host 2863actual_target_dirs = [] 2864fdt_required = [] 2865foreach target : target_dirs 2866 config_target = { 'TARGET_NAME': target.split('-')[0] } --- 1449 unchanged lines hidden (view full) --- 4316summary_info += {'libnfs support': libnfs} 4317if targetos == 'windows' 4318 if have_ga 4319 summary_info += {'QGA VSS support': have_qga_vss} 4320 endif 4321endif 4322summary_info += {'seccomp support': seccomp} 4323summary_info += {'GlusterFS support': glusterfs} | 2884 2885ignored = [ 'TARGET_XML_FILES', 'TARGET_ABI_DIR', 'TARGET_ARCH' ] 2886 2887default_targets = 'CONFIG_DEFAULT_TARGETS' in config_host 2888actual_target_dirs = [] 2889fdt_required = [] 2890foreach target : target_dirs 2891 config_target = { 'TARGET_NAME': target.split('-')[0] } --- 1449 unchanged lines hidden (view full) --- 4341summary_info += {'libnfs support': libnfs} 4342if targetos == 'windows' 4343 if have_ga 4344 summary_info += {'QGA VSS support': have_qga_vss} 4345 endif 4346endif 4347summary_info += {'seccomp support': seccomp} 4348summary_info += {'GlusterFS support': glusterfs} |
4349summary_info += {'hv-balloon support': hv_balloon} |
|
4324summary_info += {'TPM support': have_tpm} 4325summary_info += {'libssh support': libssh} 4326summary_info += {'lzo support': lzo} 4327summary_info += {'snappy support': snappy} 4328summary_info += {'bzip2 support': libbzip2} 4329summary_info += {'lzfse support': liblzfse} 4330summary_info += {'zstd support': zstd} 4331summary_info += {'NUMA host support': numa} --- 62 unchanged lines hidden --- | 4350summary_info += {'TPM support': have_tpm} 4351summary_info += {'libssh support': libssh} 4352summary_info += {'lzo support': lzo} 4353summary_info += {'snappy support': snappy} 4354summary_info += {'bzip2 support': libbzip2} 4355summary_info += {'lzfse support': liblzfse} 4356summary_info += {'zstd support': zstd} 4357summary_info += {'NUMA host support': numa} --- 62 unchanged lines hidden --- |