mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/ppc: Avoid using Monitor in ics_pic_print_info()
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Message-Id: <20240610062105.49848-5-philmd@linaro.org>
This commit is contained in:
parent
f163e2707e
commit
dd77c49e74
4 changed files with 19 additions and 19 deletions
|
@ -409,10 +409,10 @@ static void xics_spapr_print_info(SpaprInterruptController *intc, Monitor *mon)
|
|||
|
||||
icp_pic_print_info(spapr_cpu_state(cpu)->icp, buf);
|
||||
}
|
||||
ics_pic_print_info(ics, buf);
|
||||
|
||||
info = human_readable_text_from_str(buf);
|
||||
monitor_puts(mon, info->human_readable_text);
|
||||
|
||||
ics_pic_print_info(ics, mon);
|
||||
}
|
||||
|
||||
static int xics_spapr_post_load(SpaprInterruptController *intc, int version_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue