[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 6/6] target/arm: Remove duplicate 'host' entry in '-c
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PULL 6/6] target/arm: Remove duplicate 'host' entry in '-cpu ?' output |
Date: |
Mon, 30 Jul 2018 15:17:48 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
---
target/arm/helper.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/target/arm/helper.c b/target/arm/helper.c
index 22d812240af..66afb08ee0f 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)
--
2.17.1
- [Qemu-devel] [PULL 0/6] target-arm queue, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 5/6] hw/misc/tz-mpc: Zero the LUT on initialization, not just reset, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 3/6] armv7m_nvic: Fix m-security subsection name, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 6/6] target/arm: Remove duplicate 'host' entry in '-cpu ?' output,
Peter Maydell <=
- [Qemu-devel] [PULL 4/6] hw/arm/iotkit: Fix IRQ number for timer1, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 1/6] arm/smmuv3: Fix missing VMSD terminator, Peter Maydell, 2018/07/30
- [Qemu-devel] [PULL 2/6] hw/arm/sysbus-fdt: Fix assertion in copy_properties_from_host(), Peter Maydell, 2018/07/30
- Re: [Qemu-devel] [PULL 0/6] target-arm queue, Peter Maydell, 2018/07/30