hmp: add info iothreads command
authorTing Wang <kathy.wangting@huawei.com>
Fri, 26 Jun 2015 08:07:13 +0000 (16:07 +0800)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 4 Sep 2015 11:26:26 +0000 (13:26 +0200)
commit62313160cb5b6bdfbd77a063e94a5a7d25e59f2b
tree651ee5eb53ea1c66dee76fac1e2c8a2802f3efcf
parente2f9a6572bb400e64e7a56526c5f7a4a9f8f6f90
hmp: add info iothreads command

Make "info iothreads" available on the HMP monitor.

For example, the results are as follows when executing qemu
command with "-object iothread,id=iothread-1 -object
iothread,id=iothread-2".
(qemu) info iothreads
iothread-1: thread_id=123
iothread-2: thread_id=456

Signed-off-by: Ting Wang <kathy.wangting@huawei.com>
Message-Id: <1435306033-58372-1-git-send-email-kathy.wangting@huawei.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Amos Jianjun Kong <kongjianjun@gmail.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hmp-commands.hx
hmp.c
hmp.h
monitor.c