diff options
| author | Markus Armbruster | 2019-04-17 21:17:54 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2019-04-18 22:18:59 +0200 |
| commit | ac7ff4cf5f20eee8cec228209f6b3ca557c60639 (patch) | |
| tree | 88938d9d560afb4c6bf5c65d7ee925803e6198d1 /block | |
| parent | tcg: Simplify how dump_drift_info() prints (diff) | |
| download | qemu-ac7ff4cf5f20eee8cec228209f6b3ca557c60639.tar.gz qemu-ac7ff4cf5f20eee8cec228209f6b3ca557c60639.tar.xz qemu-ac7ff4cf5f20eee8cec228209f6b3ca557c60639.zip | |
qsp: Simplify how qsp_report() prints
qsp_report() takes an fprintf()-like callback and a FILE * to pass to
it.
Its only caller hmp_sync_profile() passes monitor_fprintf() and the
current monitor cast to FILE *. monitor_fprintf() casts it right
back, and is otherwise identical to monitor_printf(). The
type-punning is ugly.
Drop the callback, and call qemu_printf() instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190417191805.28198-7-armbru@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
