projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a62fb2
)
linux-user: display cpu list.
author
Laurent Vivier
<laurent@vivier.eu>
Sun, 23 May 2010 22:35:20 +0000
(
00:35
+0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Thu, 22 Jul 2010 03:52:08 +0000
(
05:52
+0200)
As it is done for qemu-system with "-cpu ?", when cpu_list_id() is missing
for a target, call cpu_list() instead.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/main.c
patch
|
blob
|
history
diff --git
a/linux-user/main.c
b/linux-user/main.c
index 403c8d3b96455ded15e9355fd94c21b7880a0e68..fa29d7773af4dade2673d8366bdb3615de816fd9 100644
(file)
--- a/
linux-user/main.c
+++ b/
linux-user/main.c
@@
-2800,6
+2800,8
@@
int main(int argc, char **argv, char **envp)
/* XXX: implement xxx_cpu_list for targets that still miss it */
#if defined(cpu_list_id)
cpu_list_id(stdout, &fprintf, "");
+#elif defined(cpu_list)
+ cpu_list(stdout, &fprintf); /* deprecated */
#endif
exit(1);
}