[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] hmp: add info iothreads command
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v5] hmp: add info iothreads command |
Date: |
Thu, 30 Jul 2015 19:07:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
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.
Paolo