[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers |
Date: |
Fri, 23 Oct 2015 11:09:58 +0100 |
On Fri, Oct 23, 2015 at 10:32 AM, Fam Zheng <address@hidden> wrote:
> On Tue, 10/20 12:05, Dr. David Alan Gilbert (git) wrote:
>> From: "Dr. David Alan Gilbert" <address@hidden>
>>
>> Two new gdb commands are added:
>>
>> qemu iohandlers
>>
>> that dumps the list of waiting iohandlers, this is particularly
>> useful for trying to figure out where an incoming migration is
>> blocked. For 'fd_coroutine_enter' cases we dump a full backtrace.
>>
>> qemu aios
>> that dumps the qemu_aio_context list.
>
> I'd assume "qemu aios" is a command to print the list of AioContext instances
> rather than handlers in a particular context (qemu_aio_context). How about
> "qemu handlers"?
Seems fine to me but it would be useful to add an optional AioContext
pointer argument.
That way the command prints qemu_aio_context by default but can also
be used to inspect arbitrary AioContexts.
Stefan