|
From: | Harsh Prateek Bora |
Subject: | Re: [PATCH 06/26] hw/ppc: Avoid using Monitor in xive_end_queue_pic_print_info() |
Date: | Mon, 17 Jun 2024 18:05:01 +0530 |
User-agent: | Mozilla Thunderbird |
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
@@ -1389,8 +1392,10 @@ void xive_end_pic_print_info(XiveEND *end, uint32_t end_idx, Monitor *mon) if (qaddr_base) { monitor_printf(mon, " eq:@%08"PRIx64"% 6d/%5d ^%d", qaddr_base, qindex, qentries, qgen); - xive_end_queue_pic_print_info(end, 6, mon); + xive_end_queue_pic_print_info(end, 6, buf); } + info = human_readable_text_from_str(buf); + monitor_puts(mon, info->human_readable_text); monitor_printf(mon, "\n");
This monitor_printf could also be folded in buf before info assignment ?
}
[Prev in Thread] | Current Thread | [Next in Thread] |