target/arm: Remove duplicate 'host' entry in '-cpu ?' output
Since86f0a186d6
the TYPE_ARM_HOST_CPU is only compiled when CONFIG_KVM is enabled. Remove the now redundant special-case introduced ina96c0514ab
, 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>
This commit is contained in:
parent
218fe5ce40
commit
0261fb805c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user