qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC v2 16/34] HACK: Disable list_cpus


From: Peter Crosthwaite
Subject: [Qemu-devel] [RFC v2 16/34] HACK: Disable list_cpus
Date: Sat, 30 May 2015 23:11:49 -0700

Not dealing with this issue as of this RFC. Comments welcome on how to
handle it. It is probably a case that any form of CPU selection is ill
defined in multi-arch. So just a case of #ifndef TARGET_MULTI or
something like that?

Signed-off-by: Peter Crosthwaite <address@hidden>
---
 cpus.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cpus.c b/cpus.c
index 2dc4a9a..441a026 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1446,9 +1446,11 @@ void cpu_loop_exit(CPUState *cpu)
 void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg)
 {
     /* XXX: implement xxx_cpu_list for targets that still miss it */
+#if 0
 #if defined(cpu_list)
     cpu_list(f, cpu_fprintf);
 #endif
+#endif
 }
 
 CpuInfoList *qmp_query_cpus(Error **errp)
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]