Markus Armbruster 0442428a89 target: Simplify how the TARGET_cpu_list() print
The various TARGET_cpu_list() take an fprintf()-like callback and a
FILE * to pass to it.  Their callers (vl.c's main() via list_cpus(),
bsd-user/main.c's main(), linux-user/main.c's main()) all pass
fprintf() and stdout.  Thus, the flexibility provided by the (rather
tiresome) indirection isn't actually used.

Drop the callback, and call qemu_printf() instead.

Calling printf() would also work, but would make the code unsuitable
for monitor context without making it simpler.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190417191805.28198-10-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2019-04-18 22:18:59 +02:00
..
2019-03-05 15:55:08 +00:00
2019-01-07 16:18:42 +04:00
2018-05-31 14:50:52 +01:00
2019-03-05 15:55:08 +00:00
2018-12-11 15:45:22 -02:00
2019-03-05 15:55:09 +00:00
2019-03-05 15:55:09 +00:00
2019-02-28 11:03:05 +00:00