[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 10/15] meson.build: clean-up summary reporting of XEN and it'
From: |
Alex Bennée |
Subject: |
[RFC PATCH 10/15] meson.build: clean-up summary reporting of XEN and it's features |
Date: |
Thu, 5 Nov 2020 17:51:48 +0000 |
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)}
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')}
--
2.20.1
- 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 <=
- [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