[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/9] meson: Restrict system-mode specific accelerators
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 6/9] meson: Restrict system-mode specific accelerators |
Date: |
Tue, 19 Jan 2021 19:50:02 +0100 |
Avoid displaying accelerators which are restricted to
system-emulation.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
meson.build | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/meson.build b/meson.build
index 940898eb5b4..575e34d88ac 100644
--- a/meson.build
+++ b/meson.build
@@ -2377,13 +2377,15 @@
endif
summary_info += {'target list': ' '.join(target_dirs)}
-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']}
+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')
--
2.26.2
- [PATCH 0/9] meson: Clarify summary, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 1/9] meson: Summarize generic information first, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 2/9] meson: Summarize compilation information altogether, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 3/9] meson: Summarize host binaries altogether, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 4/9] meson: Summarize accelerators altogether, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 5/9] meson: Display if system emulation is selected in summary, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 6/9] meson: Restrict system-mode specific accelerators,
Philippe Mathieu-Daudé <=
- [PATCH 7/9] meson: Do not configure audio if system-mode is not selected, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 8/9] meson: Display if user-mode emulation is selected in summary, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 9/9] meson: Summarize block layer information altogether, Philippe Mathieu-Daudé, 2021/01/19
- Re: [PATCH 0/9] meson: Clarify summary, Paolo Bonzini, 2021/01/20