[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 10/15] meson.build: clean-up summary reporting of XEN and
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [RFC PATCH 10/15] meson.build: clean-up summary reporting of XEN and it's features |
Date: |
Thu, 5 Nov 2020 20:11:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
On 11/5/20 6:51 PM, Alex Bennée wrote:
> Report XEN support along with the rest of the accelerators. Repurposed
> the existing Xen support line to display details about the control API
> version and the additional enabled features.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> meson.build | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 46e4c2fc3a..79b74fbda7 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -2078,8 +2078,15 @@ if vnc.found()
> summary_info += {'VNC JPEG support': jpeg.found()}
> summary_info += {'VNC PNG support': png.found()}
> endif
> -summary_info += {'xen support':
> config_host.has_key('CONFIG_XEN_BACKEND')}
> if config_host.has_key('CONFIG_XEN_BACKEND')
> + xen_features = ['backend']
> + if config_all.has_key('CONFIG_XEN_HVM')
> + xen_features += 'HVM'
> + endif
> + if config_all.has_key('CONFIG_XEN_PCI_PASSTHROUGH')
> + xen_features += 'PCI Passthrough'
> + endif
> + summary_info += {'xen features': ' '.join(xen_features)}
Maybe ','.join, as ' ' already in 'PCI Passthrough'.
Otherwise:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> summary_info += {'xen ctrl version':
> config_host['CONFIG_XEN_CTRL_INTERFACE_VERSION']}
> endif
> summary_info += {'brlapi support': config_host.has_key('CONFIG_BRLAPI')}
> @@ -2092,6 +2099,7 @@ summary_info += {'Linux io_uring support':
> config_host.has_key('CONFIG_LINUX_IO_
> summary_info += {'ATTR/XATTR support': config_host.has_key('CONFIG_ATTR')}
> summary_info += {'Install blobs': get_option('install_blobs')}
> summary_info += {'KVM support': config_all.has_key('CONFIG_KVM')}
> +summary_info += {'XEN support': config_all.has_key('CONFIG_XEN')}
> 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')}
>
- Re: [RFC PATCH 06/15] docs: add some documentation for the guest-loader, (continued)
- [RFC PATCH 05/15] docs: move generic-loader documentation into the main manual, Alex Bennée, 2020/11/05
- [RFC PATCH 08/15] meson.build: fix building of Xen support for aarch64, Alex Bennée, 2020/11/05
- [RFC PATCH 10/15] meson.build: clean-up summary reporting of XEN and it's features, Alex Bennée, 2020/11/05
- Re: [RFC PATCH 10/15] meson.build: clean-up summary reporting of XEN and it's features,
Philippe Mathieu-Daudé <=
- [RFC PATCH 09/15] meson.build: introduce CONFIG_XEN_HVM flag, Alex Bennée, 2020/11/05
- [RFC PATCH 07/15] accel/meson: you only need accelerator stubs for softmmu builds, Alex Bennée, 2020/11/05
- [RFC PATCH 12/15] stubs/xen-hw-stub: drop xenstore_store_pv_console_info stub, Alex Bennée, 2020/11/05
- [RFC PATCH 14/15] xen: only build HVM support under CONFIG_XEN_HVM, Alex Bennée, 2020/11/05
- [RFC PATCH 13/15] accel/stubs: drop unused cpu.h include, Alex Bennée, 2020/11/05