diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-07-27 10:23:11 -0300 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-07-30 15:07:08 +0100 |
commit | 0261fb805c00a6f97d143235e7b06b0906bdf898 (patch) | |
tree | 58a73414cf1cbaaac6f21461526502ed23382f42 /target/arm | |
parent | 218fe5ce402986cf2cf246d65bf71de9f3508fe3 (diff) |
target/arm: Remove duplicate 'host' entry in '-cpu ?' output
Since 86f0a186d6f the TYPE_ARM_HOST_CPU is only compiled when CONFIG_KVM
is enabled.
Remove the now redundant special-case introduced in a96c0514ab7, to avoid:
$ qemu-system-aarch64 -machine virt -cpu \? | fgrep host
host
host (only available in KVM mode)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180727132311.2777-1-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm')
-rw-r--r-- | target/arm/helper.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target/arm/helper.c b/target/arm/helper.c index 22d812240a..66afb08ee0 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -5591,12 +5591,6 @@ void arm_cpu_list(FILE *f, fprintf_function cpu_fprintf) (*cpu_fprintf)(f, "Available CPUs:\n"); g_slist_foreach(list, arm_cpu_list_entry, &s); g_slist_free(list); -#ifdef CONFIG_KVM - /* The 'host' CPU type is dynamically registered only if KVM is - * enabled, so we have to special-case it here: - */ - (*cpu_fprintf)(f, " host (only available in KVM mode)\n"); -#endif } static void arm_cpu_add_definition(gpointer data, gpointer user_data) |