mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 09:55:55 +00:00
meson: Display accelerators and selected targets altogether
Display accelerators and selected targets altogether, avoid to display unuseful information when not relevant. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210121095616.1471869-6-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2e864b8b8d
commit
aa3ca63427
38
meson.build
38
meson.build
|
@ -2331,6 +2331,8 @@ summary(summary_info, bool_yn: true, section: 'Host binaries')
|
||||||
# Configurable features
|
# Configurable features
|
||||||
summary_info = {}
|
summary_info = {}
|
||||||
summary_info += {'Documentation': build_docs}
|
summary_info += {'Documentation': build_docs}
|
||||||
|
summary_info += {'system-mode emulation': have_system}
|
||||||
|
summary_info += {'user-mode emulation': have_user}
|
||||||
summary_info += {'Install blobs': get_option('install_blobs')}
|
summary_info += {'Install blobs': get_option('install_blobs')}
|
||||||
summary_info += {'module support': config_host.has_key('CONFIG_MODULES')}
|
summary_info += {'module support': config_host.has_key('CONFIG_MODULES')}
|
||||||
if config_host.has_key('CONFIG_MODULES')
|
if config_host.has_key('CONFIG_MODULES')
|
||||||
|
@ -2420,8 +2422,30 @@ summary_info += {'sparse': sparse.found() ? sparse.full_path() : fals
|
||||||
summary_info += {'mingw32 support': targetos == 'windows'}
|
summary_info += {'mingw32 support': targetos == 'windows'}
|
||||||
summary(summary_info, bool_yn: true, section: 'Compilation')
|
summary(summary_info, bool_yn: true, section: 'Compilation')
|
||||||
|
|
||||||
|
# Targets and accelerators
|
||||||
summary_info = {}
|
summary_info = {}
|
||||||
|
if have_system
|
||||||
|
summary_info += {'KVM support': config_all.has_key('CONFIG_KVM')}
|
||||||
|
summary_info += {'HAX support': config_all.has_key('CONFIG_HAX')}
|
||||||
|
summary_info += {'HVF support': config_all.has_key('CONFIG_HVF')}
|
||||||
|
summary_info += {'WHPX support': config_all.has_key('CONFIG_WHPX')}
|
||||||
|
summary_info += {'Xen support': config_host.has_key('CONFIG_XEN_BACKEND')}
|
||||||
|
if config_host.has_key('CONFIG_XEN_BACKEND')
|
||||||
|
summary_info += {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INTERFACE_VERSION']}
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
summary_info += {'TCG support': config_all.has_key('CONFIG_TCG')}
|
||||||
|
if config_all.has_key('CONFIG_TCG')
|
||||||
|
summary_info += {'TCG debug enabled': config_host.has_key('CONFIG_DEBUG_TCG')}
|
||||||
|
summary_info += {'TCG interpreter': tcg_arch == 'tci'}
|
||||||
|
endif
|
||||||
summary_info += {'target list': ' '.join(target_dirs)}
|
summary_info += {'target list': ' '.join(target_dirs)}
|
||||||
|
if have_system
|
||||||
|
summary_info += {'default devices': get_option('default_devices')}
|
||||||
|
endif
|
||||||
|
summary(summary_info, bool_yn: true, section: 'Targets and accelerators')
|
||||||
|
|
||||||
|
summary_info = {}
|
||||||
if targetos == 'darwin'
|
if targetos == 'darwin'
|
||||||
summary_info += {'Cocoa support': cocoa.found()}
|
summary_info += {'Cocoa support': cocoa.found()}
|
||||||
endif
|
endif
|
||||||
|
@ -2466,25 +2490,12 @@ if vnc.found()
|
||||||
summary_info += {'VNC JPEG support': jpeg.found()}
|
summary_info += {'VNC JPEG support': jpeg.found()}
|
||||||
summary_info += {'VNC PNG support': png.found()}
|
summary_info += {'VNC PNG support': png.found()}
|
||||||
endif
|
endif
|
||||||
summary_info += {'xen support': config_host.has_key('CONFIG_XEN_BACKEND')}
|
|
||||||
if config_host.has_key('CONFIG_XEN_BACKEND')
|
|
||||||
summary_info += {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INTERFACE_VERSION']}
|
|
||||||
endif
|
|
||||||
summary_info += {'brlapi support': brlapi.found()}
|
summary_info += {'brlapi support': brlapi.found()}
|
||||||
summary_info += {'vde support': config_host.has_key('CONFIG_VDE')}
|
summary_info += {'vde support': config_host.has_key('CONFIG_VDE')}
|
||||||
summary_info += {'netmap support': config_host.has_key('CONFIG_NETMAP')}
|
summary_info += {'netmap support': config_host.has_key('CONFIG_NETMAP')}
|
||||||
summary_info += {'Linux AIO support': config_host.has_key('CONFIG_LINUX_AIO')}
|
summary_info += {'Linux AIO support': config_host.has_key('CONFIG_LINUX_AIO')}
|
||||||
summary_info += {'Linux io_uring support': config_host.has_key('CONFIG_LINUX_IO_URING')}
|
summary_info += {'Linux io_uring support': config_host.has_key('CONFIG_LINUX_IO_URING')}
|
||||||
summary_info += {'ATTR/XATTR support': libattr.found()}
|
summary_info += {'ATTR/XATTR support': libattr.found()}
|
||||||
summary_info += {'KVM support': config_all.has_key('CONFIG_KVM')}
|
|
||||||
summary_info += {'HAX support': config_all.has_key('CONFIG_HAX')}
|
|
||||||
summary_info += {'HVF support': config_all.has_key('CONFIG_HVF')}
|
|
||||||
summary_info += {'WHPX support': config_all.has_key('CONFIG_WHPX')}
|
|
||||||
summary_info += {'TCG support': config_all.has_key('CONFIG_TCG')}
|
|
||||||
if config_all.has_key('CONFIG_TCG')
|
|
||||||
summary_info += {'TCG debug enabled': config_host.has_key('CONFIG_DEBUG_TCG')}
|
|
||||||
summary_info += {'TCG interpreter': tcg_arch == 'tci'}
|
|
||||||
endif
|
|
||||||
summary_info += {'RDMA support': config_host.has_key('CONFIG_RDMA')}
|
summary_info += {'RDMA support': config_host.has_key('CONFIG_RDMA')}
|
||||||
summary_info += {'PVRDMA support': config_host.has_key('CONFIG_PVRDMA')}
|
summary_info += {'PVRDMA support': config_host.has_key('CONFIG_PVRDMA')}
|
||||||
summary_info += {'fdt support': fdt_opt == 'disabled' ? false : fdt_opt}
|
summary_info += {'fdt support': fdt_opt == 'disabled' ? false : fdt_opt}
|
||||||
|
@ -2536,7 +2547,6 @@ summary_info += {'capstone': capstone_opt == 'disabled' ? false : capst
|
||||||
summary_info += {'libpmem support': config_host.has_key('CONFIG_LIBPMEM')}
|
summary_info += {'libpmem support': config_host.has_key('CONFIG_LIBPMEM')}
|
||||||
summary_info += {'libdaxctl support': config_host.has_key('CONFIG_LIBDAXCTL')}
|
summary_info += {'libdaxctl support': config_host.has_key('CONFIG_LIBDAXCTL')}
|
||||||
summary_info += {'libudev': libudev.found()}
|
summary_info += {'libudev': libudev.found()}
|
||||||
summary_info += {'default devices': get_option('default_devices')}
|
|
||||||
summary_info += {'rng-none': config_host.has_key('CONFIG_RNG_NONE')}
|
summary_info += {'rng-none': config_host.has_key('CONFIG_RNG_NONE')}
|
||||||
summary_info += {'Linux keyring': config_host.has_key('CONFIG_SECRET_KEYRING')}
|
summary_info += {'Linux keyring': config_host.has_key('CONFIG_SECRET_KEYRING')}
|
||||||
summary_info += {'FUSE exports': fuse.found()}
|
summary_info += {'FUSE exports': fuse.found()}
|
||||||
|
|
Loading…
Reference in a new issue