[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] hmp: add info iothreads command
From: |
Amos Jianjun Kong |
Subject: |
Re: [Qemu-devel] [PATCH v5] hmp: add info iothreads command |
Date: |
Fri, 31 Jul 2015 01:09:49 +0800 |
On Fri, Jul 31, 2015 at 1:07 AM, Paolo Bonzini <address@hidden> wrote:
>
>
> On 30/07/2015 18:51, Amos Jianjun Kong wrote:
>>> > +void hmp_info_iothreads(Monitor *mon, const QDict *qdict)
>>> > +{
>>> > + IOThreadInfoList *info_list = qmp_query_iothreads(NULL);
>>> > + IOThreadInfoList *info;
>>> > +
>>> > + for (info = info_list; info; info = info->next) {
>>> > + monitor_printf(mon, "%s: thread_id=%" PRId64 "\n",
>> How about add a '\' at the beginning of each line? similar as the
>> output of 'info network'
>>
>
> For 'info network', the \ represents the peer relationship between e.g.
> NIC and backend. There is no such relationship for iothreads.
Got it.
Reviewed-by: Amos Jianjun Kong <address@hidden>
> Paolo