diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-05-04 19:55:35 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-04 19:55:35 +0000 |
commit | 262353cb1fd8a78f6f0c9d1ddd2fdce32d3fdf95 (patch) | |
tree | 3bfd5d897b56f0dac790017d64ba46d2da737d93 /vl.c | |
parent | 0684bf1b0fa1823bf0614dd8d1c8b10cc0ef3f35 (diff) | |
download | qemu-262353cb1fd8a78f6f0c9d1ddd2fdce32d3fdf95.zip qemu-262353cb1fd8a78f6f0c9d1ddd2fdce32d3fdf95.tar.gz qemu-262353cb1fd8a78f6f0c9d1ddd2fdce32d3fdf95.tar.bz2 |
Fix cpu list("-cpu ?") breakage, spotted by TeLeMan
Fix breakage by 04c9a0cbc2bf496889cef6da2d61bf00ef190a4f.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -2726,12 +2726,7 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_cpu: /* hw initialization will check this */ if (*optarg == '?') { -/* XXX: implement xxx_cpu_list for targets that still miss it */ -#if defined(cpu_list_id) - cpu_list_id(stdout, &fprintf, optarg); -#elif defined(cpu_list) - cpu_list(stdout, &fprintf); /* deprecated */ -#endif + list_cpus(stdout, &fprintf, optarg); exit(0); } else { cpu_model = optarg; |