From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqWZL-0003js-FT for qemu-devel@nongnu.org; Sun, 25 Oct 2015 21:27:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqWZI-00075r-9j for qemu-devel@nongnu.org; Sun, 25 Oct 2015 21:27:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqWZI-00075V-54 for qemu-devel@nongnu.org; Sun, 25 Oct 2015 21:27:24 -0400 Date: Mon, 26 Oct 2015 09:27:20 +0800 From: Fam Zheng Message-ID: <20151026012720.GA28904@ad.usersys.redhat.com> References: <1445339117-16278-1-git-send-email-dgilbert@redhat.com> <20151023093235.GA23646@ad.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Peter Maydell , "Dr. David Alan Gilbert (git)" , Stefan Hajnoczi , qemu-devel On Fri, 10/23 11:09, Stefan Hajnoczi wrote: > On Fri, Oct 23, 2015 at 10:32 AM, Fam Zheng wrote: > > On Tue, 10/20 12:05, Dr. David Alan Gilbert (git) wrote: > >> From: "Dr. David Alan Gilbert" > >> > >> 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