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
..
2018-03-01 18:26:17 +02:00
2018-03-02 13:45:50 -06:00
2018-10-19 13:44:12 +02:00
2018-12-11 15:45:22 -02:00
2016-02-23 12:43:05 +00:00
2018-03-13 12:04:03 +01:00
2018-12-11 15:45:22 -02:00
2018-12-20 10:29:08 +01:00