[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers |
Date: |
Mon, 26 Oct 2015 09:27:20 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, 10/23 11:09, Stefan Hajnoczi wrote:
> 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.
>
That is a good idea.
Fam