meson.build (a6caeee8111386b2d16ee07fe817193cde7f0d2a) | meson.build (2a2359b84407b35fe978e98b7396f2ab8c5dd8b7) |
---|---|
1project('qemu', ['c'], meson_version: '>=0.59.3', 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']) --- 1536 unchanged lines hidden (view full) --- 1545if get_option('libvduse').enabled() 1546 if targetos != 'linux' 1547 error('libvduse requires linux') 1548 endif 1549elif get_option('libvduse').disabled() 1550 have_libvduse = false 1551endif 1552 | 1project('qemu', ['c'], meson_version: '>=0.59.3', 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']) --- 1536 unchanged lines hidden (view full) --- 1545if get_option('libvduse').enabled() 1546 if targetos != 'linux' 1547 error('libvduse requires linux') 1548 endif 1549elif get_option('libvduse').disabled() 1550 have_libvduse = false 1551endif 1552 |
1553have_vduse_blk_export = (have_libvduse and targetos == 'linux') 1554if get_option('vduse_blk_export').enabled() 1555 if targetos != 'linux' 1556 error('vduse_blk_export requires linux') 1557 elif not have_libvduse 1558 error('vduse_blk_export requires libvduse support') 1559 endif 1560elif get_option('vduse_blk_export').disabled() 1561 have_vduse_blk_export = false 1562endif 1563 |
|
1553# libbpf 1554libbpf = dependency('libbpf', required: get_option('bpf'), method: 'pkg-config') 1555if libbpf.found() and not cc.links(''' 1556 #include <bpf/libbpf.h> 1557 int main(void) 1558 { 1559 bpf_object__destroy_skeleton(NULL); 1560 return 0; --- 226 unchanged lines hidden (view full) --- 1787config_host_data.set('CONFIG_VHOST_NET_USER', have_vhost_net_user) 1788config_host_data.set('CONFIG_VHOST_NET_VDPA', have_vhost_net_vdpa) 1789config_host_data.set('CONFIG_VHOST_KERNEL', have_vhost_kernel) 1790config_host_data.set('CONFIG_VHOST_USER', have_vhost_user) 1791config_host_data.set('CONFIG_VHOST_CRYPTO', have_vhost_user_crypto) 1792config_host_data.set('CONFIG_VHOST_VDPA', have_vhost_vdpa) 1793config_host_data.set('CONFIG_VMNET', vmnet.found()) 1794config_host_data.set('CONFIG_VHOST_USER_BLK_SERVER', have_vhost_user_blk_server) | 1564# libbpf 1565libbpf = dependency('libbpf', required: get_option('bpf'), method: 'pkg-config') 1566if libbpf.found() and not cc.links(''' 1567 #include <bpf/libbpf.h> 1568 int main(void) 1569 { 1570 bpf_object__destroy_skeleton(NULL); 1571 return 0; --- 226 unchanged lines hidden (view full) --- 1798config_host_data.set('CONFIG_VHOST_NET_USER', have_vhost_net_user) 1799config_host_data.set('CONFIG_VHOST_NET_VDPA', have_vhost_net_vdpa) 1800config_host_data.set('CONFIG_VHOST_KERNEL', have_vhost_kernel) 1801config_host_data.set('CONFIG_VHOST_USER', have_vhost_user) 1802config_host_data.set('CONFIG_VHOST_CRYPTO', have_vhost_user_crypto) 1803config_host_data.set('CONFIG_VHOST_VDPA', have_vhost_vdpa) 1804config_host_data.set('CONFIG_VMNET', vmnet.found()) 1805config_host_data.set('CONFIG_VHOST_USER_BLK_SERVER', have_vhost_user_blk_server) |
1806config_host_data.set('CONFIG_VDUSE_BLK_EXPORT', have_vduse_blk_export) |
|
1795config_host_data.set('CONFIG_PNG', png.found()) 1796config_host_data.set('CONFIG_VNC', vnc.found()) 1797config_host_data.set('CONFIG_VNC_JPEG', jpeg.found()) 1798config_host_data.set('CONFIG_VNC_SASL', sasl.found()) 1799config_host_data.set('CONFIG_VIRTFS', have_virtfs) 1800config_host_data.set('CONFIG_VTE', vte.found()) 1801config_host_data.set('CONFIG_XKBCOMMON', xkbcommon.found()) 1802config_host_data.set('CONFIG_KEYUTILS', keyutils.found()) --- 2049 unchanged lines hidden (view full) --- 3852 summary_info += {'cloop support': get_option('cloop').allowed()} 3853 summary_info += {'dmg support': get_option('dmg').allowed()} 3854 summary_info += {'qcow v1 support': get_option('qcow1').allowed()} 3855 summary_info += {'vdi support': get_option('vdi').allowed()} 3856 summary_info += {'vvfat support': get_option('vvfat').allowed()} 3857 summary_info += {'qed support': get_option('qed').allowed()} 3858 summary_info += {'parallels support': get_option('parallels').allowed()} 3859 summary_info += {'FUSE exports': fuse} | 1807config_host_data.set('CONFIG_PNG', png.found()) 1808config_host_data.set('CONFIG_VNC', vnc.found()) 1809config_host_data.set('CONFIG_VNC_JPEG', jpeg.found()) 1810config_host_data.set('CONFIG_VNC_SASL', sasl.found()) 1811config_host_data.set('CONFIG_VIRTFS', have_virtfs) 1812config_host_data.set('CONFIG_VTE', vte.found()) 1813config_host_data.set('CONFIG_XKBCOMMON', xkbcommon.found()) 1814config_host_data.set('CONFIG_KEYUTILS', keyutils.found()) --- 2049 unchanged lines hidden (view full) --- 3864 summary_info += {'cloop support': get_option('cloop').allowed()} 3865 summary_info += {'dmg support': get_option('dmg').allowed()} 3866 summary_info += {'qcow v1 support': get_option('qcow1').allowed()} 3867 summary_info += {'vdi support': get_option('vdi').allowed()} 3868 summary_info += {'vvfat support': get_option('vvfat').allowed()} 3869 summary_info += {'qed support': get_option('qed').allowed()} 3870 summary_info += {'parallels support': get_option('parallels').allowed()} 3871 summary_info += {'FUSE exports': fuse} |
3872 summary_info += {'VDUSE block exports': have_vduse_blk_export} |
|
3860endif 3861summary(summary_info, bool_yn: true, section: 'Block layer support') 3862 3863# Crypto 3864summary_info = {} 3865summary_info += {'TLS priority': get_option('tls_priority')} 3866summary_info += {'GNUTLS support': gnutls} 3867if gnutls.found() --- 123 unchanged lines hidden --- | 3873endif 3874summary(summary_info, bool_yn: true, section: 'Block layer support') 3875 3876# Crypto 3877summary_info = {} 3878summary_info += {'TLS priority': get_option('tls_priority')} 3879summary_info += {'GNUTLS support': gnutls} 3880if gnutls.found() --- 123 unchanged lines hidden --- |